23 lines
677 B
Text
23 lines
677 B
Text
# Template file for 'gengetopt'
|
|
pkgname=gengetopt
|
|
version=2.22.5
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="flex"
|
|
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
|
|
|
|
gengetopt_package() {
|
|
pkg_install() {
|
|
vmove usr
|
|
}
|
|
}
|