Added gengetopt recipe (#4493)

* gengetopt: added recipe
This commit is contained in:
alwayslivid
2019-12-29 09:56:01 +02:00
committed by Schrijvers Luc
parent 6064d34805
commit d52ade6397

View File

@@ -0,0 +1,49 @@
SUMMARY="A tool for generating scanners"
DESCRIPTION="Gengetopt is a tool to write command \
line option parsing code for C programs."
HOMEPAGE="https://www.gnu.org/software/gengetopt/"
COPYRIGHT="1999-2019 Free Software Foundation, Inc."
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="https://ftp.gnu.org/gnu/gengetopt/$portName-$portVersion.tar.xz"
CHECKSUM_SHA256="b941aec9011864978dd7fdeb052b1943535824169d2aa2b0e7eae9ab807584ac"
ARCHITECTURES="x86_gcc2 x86_64"
PROVIDES="
gengetopt = $portVersion
cmd:gengetopt = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoconf
cmd:gcc
cmd:ld
cmd:libtoolize
cmd:make
cmd:makeinfo
"
BUILD()
{
autoreconf -vfi
runConfigure ./configure
make $jobArgs
}
INSTALL()
{
make install
}
TEST()
{
make check
}