2012-11-01 10:04:19 +00:00
|
|
|
# Template file for 'gengetopt'
|
|
|
|
pkgname=gengetopt
|
|
|
|
version=2.22.5
|
|
|
|
revision=1
|
|
|
|
build_style=gnu-configure
|
2013-04-12 11:13:49 +00:00
|
|
|
hostmakedepends="flex"
|
2012-11-01 10:04:19 +00:00
|
|
|
short_desc="A tool to write cli option parsing code for C programs"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2"
|
|
|
|
homepage="http://www.gnu.org/software/${pkgname}"
|
|
|
|
distfiles="${GNU_SITE}/${pkgname}/${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=3b6fb3240352b0eb0c5b8583b58b62cbba58167cef5a7e82fa08a7f968ed2137
|
|
|
|
long_desc="
|
|
|
|
This program generates a C function that uses getopt_long function to parse
|
|
|
|
the command line options, to validate them and fills a struct."
|
|
|
|
|
|
|
|
disable_parallel_build=yes
|
2013-04-12 11:13:49 +00:00
|
|
|
|
|
|
|
gengetopt_package() {
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|