21 lines
598 B
Plaintext
21 lines
598 B
Plaintext
# Description: POSIX.1e capabilities library
|
|
# URL: https://sites.google.com/site/fullycapable/
|
|
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
|
|
# Depends on: attr-32
|
|
|
|
name=libcap-32
|
|
version=2.70
|
|
release=1
|
|
source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${name%-*}-$version.tar.xz)
|
|
|
|
build() {
|
|
cd ${name%-*}-$version
|
|
|
|
sed -i "/^CFLAGS/s/-O2/$CFLAGS/" Make.Rules
|
|
|
|
make -C libcap GOLANG=no RAISE_SETFCAP=no PKGCONFIGDIR=/usr/lib32/pkgconfig
|
|
make -C libcap GOLANG=no RAISE_SETFCAP=no DESTDIR=$PKG prefix=/usr lib=lib32 install
|
|
|
|
rm -r $PKG/usr/include
|
|
}
|