aboutsummaryrefslogtreecommitdiffstats
path: root/main/argp-standalone/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'main/argp-standalone/APKBUILD')
-rw-r--r--main/argp-standalone/APKBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/main/argp-standalone/APKBUILD b/main/argp-standalone/APKBUILD
index 485930bb31..5ace24ce0c 100644
--- a/main/argp-standalone/APKBUILD
+++ b/main/argp-standalone/APKBUILD
@@ -2,11 +2,11 @@
# Maintainer: Francesco Colista <francesco.colista@gmail.com>
pkgname=argp-standalone
pkgver=1.3
-pkgrel=0
+pkgrel=1
pkgdesc="Hierarchial argument parsing library broken out from glibc"
url="http://www.lysator.liu.se/~nisse/misc/"
[ "$ALPINE_LIBC" != "eglibc" ] && arch="all"
-license="GPL"
+license="GPL2+"
depends=""
depends_dev="libtool automake autoconf"
makedepends="$depends_dev"
@@ -14,6 +14,7 @@ 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
@@ -24,6 +25,7 @@ prepare() {
esac
done
}
+
build() {
cd "$_builddir"
./configure \
@@ -33,6 +35,7 @@ build() {
|| return 1
make || return 1
}
+
package() {
cd "$_builddir"
install -D -m644 argp.h "$pkgdir"/usr/include/argp.h