summaryrefslogtreecommitdiff
path: root/main/libcap/APKBUILD
blob: 731729c03a01a8487174defb45286c39c973902e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libcap
pkgver=2.16
pkgrel=1
pkgdesc="POSIX 1003.1e capabilities"
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
	include-order.patch
	"
subpackages="$pkgname-doc $pkgname-dev"

build ()
{
	cd "$srcdir/$pkgname-$pkgver"
	patch -p1 < ../include-order.patch || return 1

	make lib=/lib prefix=/usr LIBATTR=no DESTDIR="$pkgdir" install
}
md5sums="9e075fda242c4070ba76407064c13302  libcap-2.16.tar.gz
db5c78e0ab579bb6723fff5ebb2fd530  include-order.patch"