Files
haikuports/dev-util/gengetopt/gengetopt-2.23.recipe
waddlesplash 4f180bdb94 Utilize the new "all" ARCHITECTURES keyword in most recipes. (#6189)
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has,
is transformed into "all", and then the other entries in ARCHITECTURES
either dropped or rearranged appropriately.
2021-09-15 15:40:18 -04:00

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
}