aboutsummaryrefslogtreecommitdiffstats
path: root/main/acl/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-10-29 09:33:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-10-30 08:23:20 +0000
commit6cc9d56772b53c248743a75d81569167d253b0fa (patch)
treee0b1091172ccce3b8144630bba6dc07da8ba7b84 /main/acl/APKBUILD
parente831165357ab44d9fcd2811469cc4e5146890a15 (diff)
downloadaports-6cc9d56772b53c248743a75d81569167d253b0fa.tar.bz2
aports-6cc9d56772b53c248743a75d81569167d253b0fa.tar.xz
main/acl: specify license
Diffstat (limited to 'main/acl/APKBUILD')
-rw-r--r--main/acl/APKBUILD15
1 files changed, 8 insertions, 7 deletions
diff --git a/main/acl/APKBUILD b/main/acl/APKBUILD
index 5b382c5496..052f31d774 100644
--- a/main/acl/APKBUILD
+++ b/main/acl/APKBUILD
@@ -1,18 +1,19 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=acl
pkgver=2.2.52
-pkgrel=0
+pkgrel=1
pkgdesc="Access control list utilities"
url="http://acl.bestbits.at/"
arch="all"
-license="LGPL"
-depends=
+license="LGPL2+"
+depends=""
makedepends="attr-dev gzip"
subpackages="$pkgname-dev $pkgname-doc libacl"
-source="http://download.savannah.gnu.org/releases-noredirect/acl/acl-$pkgver.src.tar.gz"
+source="http://download.savannah.gnu.org/releases-noredirect/acl/$pkgname-$pkgver.src.tar.gz"
+_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- cd "$srcdir"/acl-$pkgver
+ cd "$_builddir"
update_config_sub || return 1
#libtoolize --force && aclocal -I m4 && autoconf && autoheader
sed -i \
@@ -26,7 +27,7 @@ prepare() {
}
build() {
- cd "$srcdir"/acl-$pkgver
+ cd "$_builddir"
unset PLATFORM
export OPTIMIZER="${CFLAGS}"
export DEBUG=-DNDEBUG
@@ -42,7 +43,7 @@ build() {
}
package() {
- cd "$srcdir"/acl-$pkgver
+ cd "$_builddir"
make DIST_ROOT="$pkgdir" install install-lib install-dev || return 1
rm "$pkgdir"/usr/lib/*.la "$pkgdir"/lib/*.la || return 1
mv "$pkgdir"/lib/libacl.a "$pkgdir"/usr/lib/