aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrancesco Colista <francesco.colista@gmail.com>2012-04-18 11:03:00 +0000
committerFrancesco Colista <francesco.colista@gmail.com>2012-04-18 11:03:00 +0000
commitc10b26d837663686f93a52d0e5a7110f308090b1 (patch)
tree7ba36d878238b625451db93930365f8807804e5e
parent57b07775d7d2c3d6d65d45c5a326099e51ca7fa9 (diff)
downloadaports-c10b26d837663686f93a52d0e5a7110f308090b1.tar.gz
aports-c10b26d837663686f93a52d0e5a7110f308090b1.tar.bz2
aports-c10b26d837663686f93a52d0e5a7110f308090b1.tar.xz
main/libcap: modified source
-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"