blob: 480a7f0b168b5d239c73ba8d784f1e4e1ad5cb31 (
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
|
# Description: Librairie posix 1003.1e version 2
# URL: http://www.kernel.org/pub/linux/libs/security/linux-privs/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: libattr
name=libcap
version=2.16
release=1
source=(http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$version.tar.bz2\
$name-$version-makefile.patch $name-$version-drop-linux-workarounds.patch)
build() {
cd $name-$version
patch -p0 -i $SRC/$name-$version-makefile.patch
patch -p0 -i $SRC/$name-$version-drop-linux-workarounds.patch
make
make \
INCDIR=$PKG/usr/include \
LIBDIR=$PKG/usr/lib \
SBINDIR=$PKG/usr/sbin \
MANDIR=$PKG/usr/man install
# man8 is empty, cap{set,get}(2) come from core/man-pages
rm -rf $PKG/usr/man/man{2,8}
}
|