aboutsummaryrefslogtreecommitdiffstats
path: root/main/acl
diff options
context:
space:
mode:
Diffstat (limited to 'main/acl')
-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/