mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
Add getopt-1.1.4
This commit is contained in:
16
app-misc/getopt/getopt-1.1.4.bep
Normal file
16
app-misc/getopt/getopt-1.1.4.bep
Normal file
@@ -0,0 +1,16 @@
|
||||
DESCRIPTION="A program to help shell scripts parse command-line parameters."
|
||||
HOMEPAGE="http://software.frodo.looijaard.name/getopt/"
|
||||
SRC_URI="http://software.frodo.looijaard.name/getopt/files/getopt-1.1.4.tar.gz"
|
||||
CHECKSUM_MD5="02188ca68da27c4175d6e9f3da732101"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="stable"
|
||||
DEPEND=""
|
||||
BUILD {
|
||||
cd getopt-1.1.4
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL {
|
||||
cd getopt-1.1.4
|
||||
make install prefix=/boot/common DESTDIR="${DESTDIR}"
|
||||
}
|
||||
5
app-misc/getopt/getopt.OptionalPackageDescription
Normal file
5
app-misc/getopt/getopt.OptionalPackageDescription
Normal file
@@ -0,0 +1,5 @@
|
||||
Package: getopt
|
||||
Version: 1.1.4
|
||||
Copyright: 1997-2005 Frodo Looijaard
|
||||
License: GNU GPL v2
|
||||
URL: http://software.frodo.looijaard.name/getopt/
|
||||
21
app-misc/getopt/patches/getopt-1.1.4.patch
Normal file
21
app-misc/getopt/patches/getopt-1.1.4.patch
Normal file
@@ -0,0 +1,21 @@
|
||||
diff -up getopt-1.1.4/Makefile.orig getopt-1.1.4/Makefile
|
||||
--- getopt-1.1.4/Makefile.orig 2010-04-20 01:05:38.208928768 -0600
|
||||
+++ getopt-1.1.4/Makefile 2010-04-20 01:08:26.741605376 -0600
|
||||
@@ -14,7 +14,7 @@ localedir=$(sharedir)/locale
|
||||
LIBCGETOPT=1
|
||||
|
||||
# Define this to 1 if you do not have the gettext routines
|
||||
-WITHOUT_GETTEXT=0
|
||||
+WITHOUT_GETTEXT=1
|
||||
|
||||
# For creating the archive
|
||||
PACKAGE=getopt
|
||||
@@ -33,7 +33,7 @@ MSGFMT=msgfmt
|
||||
LANGUAGES = cs de es fr it ja nl pt_BR
|
||||
MOFILES:=$(patsubst %,po/%.mo,$(LANGUAGES))
|
||||
|
||||
-CPPFLAGS=-DLIBCGETOPT=$(LIBCGETOPT) -DWITH_GETTEXT=$(WITH_GETTEXT) -DLOCALEDIR=\"$(localedir)\" -DNOT_UTIL_LINUX
|
||||
+CPPFLAGS=-DLIBCGETOPT=$(LIBCGETOPT) -DWITHOUT_GETTEXT=$(WITHOUT_GETTEXT) -DLOCALEDIR=\"$(localedir)\" -DNOT_UTIL_LINUX
|
||||
ifeq ($(LIBCGETOPT),0)
|
||||
CPPFLAGS+=-I./gnu
|
||||
endif
|
||||
Reference in New Issue
Block a user