aboutsummaryrefslogtreecommitdiffstats
path: root/main/libcap/APKBUILD
blob: f43dfae878a6a4c1776c8bfdcd1cf77ab6a4d16b (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
25
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libcap
pkgver=2.19
pkgrel=2
pkgdesc="POSIX 1003.1e capabilities"
arch="x86 x86_64"
license="GPL"
url="http://www.friedhoff.org/posixfilecaps.html"
depends=
makedepends="perl"
source="http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/$pkgname-$pkgver.tar.gz
	"
subpackages="$pkgname-doc $pkgname-dev"

build ()
{
	cd "$srcdir/$pkgname-$pkgver"
	make lib=/lib prefix=/usr LIBATTR=no DESTDIR="$pkgdir"
}

package() {
	cd "$srcdir/$pkgname-$pkgver"
	make lib=/lib prefix=/usr LIBATTR=no DESTDIR="$pkgdir" install
}
md5sums="9caa6dafc9e3db4cbaecdb8e48f23fa2  libcap-2.19.tar.gz"