diff --git a/dev-util/gengetopt/gengetopt-2.23.recipe b/dev-util/gengetopt/gengetopt-2.23.recipe new file mode 100644 index 000000000..5c9466b92 --- /dev/null +++ b/dev-util/gengetopt/gengetopt-2.23.recipe @@ -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 +}