0
0
Fork 0
haikuports/dev-util/gengetopt/gengetopt-2.23.recipe

50 lines
811 B
Bash

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="all"
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
}