summaryrefslogtreecommitdiffstats
path: root/main/libcap/APKBUILD
blob: 22955edffc5deb8f3910d6b04b71f57c42b453ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libcap
pkgver=2.22
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://mirror.switch.ch/ftp/mirror/gentoo/distfiles/$pkgname-$pkgver.tar.bz2"
subpackages="$pkgname-doc $pkgname-dev"
_builddir="$srcdir"/$pkgname-$pkgver
build ()
{
	cd "$_builddir"
	make lib=/lib prefix=/usr DESTDIR="$pkgdir"
}

package() {
	cd "$_builddir"
	make lib=/lib prefix=/usr RAISE_SETFCAP=no DESTDIR="$pkgdir" install
}
md5sums="ce64058bdb3f086ddbfca8ce6c919845  libcap-2.22.tar.bz2"