Files
haikuports/app-misc/getopt/getopt-1.1.6.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00

53 lines
1.3 KiB
Bash

SUMMARY="A program to help shell scripts parse command-line parameters"
DESCRIPTION="
Getopt(1) is a program to help shell scripts parse command-line parameters.
* It can do anything that the GNU getopt(3) routines can do.
* It can cope with spaces and shell metacharacters within arguments.
* It can parse long parameters.
* It can shuffle parameters, so you can mix options and other parameters on the \
command-line.
* It can be easily identified as an enhanced getopt(1) from within shell scripts.
* It can report parse errors as coming from the shell script.
* It compiles cleanly with both libc-5 and glibc-2 (libc6)."
HOMEPAGE="http://software.frodo.looijaard.name/getopt/"
COPYRIGHT="1997-2012 Frodo Looijaard"
LICENSE="GNU GPL v2"
REVISION="2"
SOURCE_URI="http://frodo.looijaard.name/system/files/software/getopt/getopt-$portVersion.tar.gz"
CHECKSUM_SHA256="d0bf1dc642a993e7388a1cddfb9409bed375c21d5278056ccca3a0acd09dc5fe"
ARCHITECTURES="x86 x86_gcc2 x86_64"
PROVIDES="
getopt = $portVersion
cmd:getopt = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES=""
BUILD_PREREQUIRES="
haiku_devel
cmd:make
cmd:gcc
"
PATCH()
{
sed -i 's/WITHOUT_GETTEXT=0/WITHOUT_GETTEXT=1/' Makefile
}
BUILD()
{
make
}
INSTALL()
{
make install \
prefix=$prefix \
mandir=$manDir
}