From 9a693067ee9cf55ae097b40fce9101d7e003a81a Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 25 Nov 2011 10:35:46 +0000 Subject: main/argp-standalone: moved from testing --- main/argp-standalone/APKBUILD | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 main/argp-standalone/APKBUILD (limited to 'main/argp-standalone/APKBUILD') diff --git a/main/argp-standalone/APKBUILD b/main/argp-standalone/APKBUILD new file mode 100644 index 0000000000..227823cd48 --- /dev/null +++ b/main/argp-standalone/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Francesco Colista +# Maintainer: Francesco Colista +pkgname=argp-standalone +pkgver=1.3 +pkgrel=0 +pkgdesc="Hierarchial argument parsing library broken out from glibc" +url="http://www.lysator.liu.se/~nisse/misc/" +arch="all" +license="GPL" +depends="" +depends_dev="libtool automake autoconf" +makedepends="$depends_dev" +install="" +subpackages="" +source="http://www.lysator.liu.se/~nisse/misc/$pkgname-$pkgver.tar.gz + 001-throw-in-funcdef.patch" +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} +build() { + cd "$_builddir" + ./configure --prefix=/usr + make || return 1 +} +package() { + cd "$_builddir" + install -D -m644 argp.h "$pkgdir"/usr/include/argp.h + install -D -m755 libargp.a "$pkgdir"/usr/lib/libargp.a +} + +md5sums="720704bac078d067111b32444e24ba69 argp-standalone-1.3.tar.gz +05ba8faf86b1f320127119e9bfc76d1a 001-throw-in-funcdef.patch" -- cgit v1.2.3