21 lines
555 B
Plaintext
Raw Normal View History

2013-10-27 17:55:32 +11:00
# Description: POSIX.1e capabilities library
# URL: http://sites.google.com/site/fullycapable/
# Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
2019-08-27 21:48:19 +10:00
# Depends on: attr-32
2013-10-27 17:55:32 +11:00
name=libcap-32
2020-05-09 12:44:38 +10:00
version=2.34
2020-01-06 21:57:18 +11:00
release=1
2018-12-05 19:51:34 +11:00
source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${name%-*}-$version.tar.xz)
2013-10-27 17:55:32 +11:00
build() {
2018-08-02 00:04:18 +10:00
cd ${name%-*}-$version
2013-10-27 17:55:32 +11:00
sed -i "/^CFLAGS/s/-O2/$CFLAGS/" Make.Rules
make -C libcap GOLANG=no
make -C libcap GOLANG=no RAISE_SETFCAP=no DESTDIR=$PKG prefix=/usr lib=lib32 install
2013-10-27 17:55:32 +11:00
rm -r $PKG/usr/include
}