blob: a97df2b1215bc3f76b2333342d2aaa7eb382531f (
plain)
1 # Description: POSIX.1e capabilities library
2 # URL: https://sites.google.com/site/fullycapable/
3 # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
4 # Depends on: attr-32
5
6 name=libcap-32
7 version=2.66
8 release=1
9 source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${name%-*}-$version.tar.xz)
10
11 build() {
12 cd ${name%-*}-$version
13
14 sed -i "/^CFLAGS/s/-O2/$CFLAGS/" Make.Rules
15
16 make -C libcap GOLANG=no RAISE_SETFCAP=no PKGCONFIGDIR=/usr/lib32/pkgconfig
17 make -C libcap GOLANG=no RAISE_SETFCAP=no DESTDIR=$PKG prefix=/usr lib=lib32 install
18
19 rm -r $PKG/usr/include
20 }
|