aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeonardo Arena <rnalrd@alpinelinux.org>2012-04-18 11:24:53 +0000
committerLeonardo Arena <rnalrd@alpinelinux.org>2012-04-18 11:24:53 +0000
commit2c4a7fa8e40993fe89955488c3589d0539d476c0 (patch)
tree3a854e5cd62e23793cba7edeeb992602be8ae207
parent92fc26e2dc8ad8b1fccaf2515ba0854673f32fa7 (diff)
parentc10b26d837663686f93a52d0e5a7110f308090b1 (diff)
downloadaports-2c4a7fa8e40993fe89955488c3589d0539d476c0.tar.bz2
aports-2c4a7fa8e40993fe89955488c3589d0539d476c0.tar.xz
Merge branch 'master' of ../aports-fcolista
-rw-r--r--main/libcap/APKBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/main/libcap/APKBUILD b/main/libcap/APKBUILD
index 01fdf3dd1a..22955edffc 100644
--- a/main/libcap/APKBUILD
+++ b/main/libcap/APKBUILD
@@ -1,25 +1,24 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libcap
pkgver=2.22
-pkgrel=1
+pkgrel=2
pkgdesc="POSIX 1003.1e capabilities"
arch="all"
license="GPL"
url="http://www.friedhoff.org/posixfilecaps.html"
depends=
makedepends="perl attr-dev"
-source="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$pkgname-$pkgver.tar.gz
- "
+source=" http://mirror.switch.ch/ftp/mirror/gentoo/distfiles/$pkgname-$pkgver.tar.bz2"
subpackages="$pkgname-doc $pkgname-dev"
-
+_builddir="$srcdir"/$pkgname-$pkgver
build ()
{
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
make lib=/lib prefix=/usr DESTDIR="$pkgdir"
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$_builddir"
make lib=/lib prefix=/usr RAISE_SETFCAP=no DESTDIR="$pkgdir" install
}
-md5sums="b4896816b626bea445f0b3849bdd4077 libcap-2.22.tar.gz"
+md5sums="ce64058bdb3f086ddbfca8ce6c919845 libcap-2.22.tar.bz2"