mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
Removed the full-stop and repeating package name in SUMMARY. Removed hard line breaks, broke up some very long paragraphs and use bullet lists where possible. All done by browsing through HaikuDepot. There may be (many) more left in the whole haikuports repo... Included 10 extended desriptions done by soyoye14 for GCI 2014 (https://www.google-melange.com/gci/task/view/google/gci2014/5240373098053632) Removed/insert whitespace where it seems to be the custom in recipes. Sometimes rearranged elements of a recipe (moving license and copyright up, for example).
53 lines
1.2 KiB
Plaintext
53 lines
1.2 KiB
Plaintext
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/"
|
|
SRC_URI="http://software.frodo.looijaard.name/getopt/files/getopt-1.1.5.tar.gz"
|
|
CHECKSUM_SHA256="11893276b94b1629606ab75772143918a5713259950fbf4216288e246f19fbb6"
|
|
REVISION="1"
|
|
LICENSE="GNU GPL v2"
|
|
COPYRIGHT="1997-2012 Frodo Looijaard"
|
|
ARCHITECTURES="x86 x86_gcc2"
|
|
|
|
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
|
|
}
|