blob: 0265465eaffaf5b70998a39819609aa6cfdcaa0f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Description: POSIX.1e capabilities library
# URL: http://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/README
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: attr
name=libcap
version=2.19
release=1
source=(ftp://ftp.kernel.org/pub/linux/libs/security/linux-privs/libcap2/libcap-$version.tar.bz2)
build () {
cd libcap-$version
sed -i '/^CFLAGS :=/s/:/\?/' Make.Rules
make
make DESTDIR=$PKG man_prefix=/usr install
install -d $PKG/usr/lib
mv $PKG/lib/libcap.a $PKG/usr/lib
rm $PKG/lib/libcap.so
ln -s ../../lib/libcap.so.$version $PKG/usr/lib/libcap.so
}
|