blob: 364f95e6f7799c0549ec30669d388c11b8813c69 (
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
26
27
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libcap
pkgver=2.22
pkgrel=3
pkgdesc="POSIX 1003.1e capabilities"
arch="all"
license="GPL"
url="http://www.friedhoff.org/posixfilecaps.html"
depends=
makedepends_build="perl"
makedepends_host="attr-dev"
makedepends="$makedepends_build $makedepends_host"
source="http://dev.alpinelinux.org/archive/libcap/$pkgname-$pkgver.tar.gz"
subpackages="$pkgname-doc $pkgname-dev"
_builddir="$srcdir"/$pkgname-$pkgver
build ()
{
cd "$_builddir"
make BUILD_CC=gcc CC="${CC:-gcc}" lib=/lib prefix=/usr DESTDIR="$pkgdir"
}
package() {
cd "$_builddir"
make lib=/lib prefix=/usr RAISE_SETFCAP=no DESTDIR="$pkgdir" install
}
md5sums="b4896816b626bea445f0b3849bdd4077 libcap-2.22.tar.gz"
|