aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-10-30 13:17:53 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-31 12:07:14 +0000
commit8cbcef621c3f38999972d44561429a062d6717ca (patch)
tree1591219f3ba7c5c115443116713daa15e573d78d
parenta704762f40dc75fdc41ebc4d790abc1961cdadfd (diff)
downloadaports-8cbcef621c3f38999972d44561429a062d6717ca.tar.bz2
aports-8cbcef621c3f38999972d44561429a062d6717ca.tar.xz
main/argp-standalone: specify license
-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