compat-32/libcap-32/Pkgfile

21 lines
535 B
Plaintext
Raw Normal View History

2013-10-27 07:55:32 +01: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 13:48:19 +02:00
# Depends on: attr-32
2013-10-27 07:55:32 +01:00
name=libcap-32
2019-12-08 13:47:05 +01:00
version=2.28
2018-12-05 09:51:34 +01:00
release=1
source=(https://www.kernel.org/pub/linux/libs/security/linux-privs/libcap2/${name%-*}-$version.tar.xz)
2013-10-27 07:55:32 +01:00
build() {
2018-08-01 16:04:18 +02:00
cd ${name%-*}-$version
2013-10-27 07:55:32 +01:00
sed -i "/^CFLAGS/s/-O2/$CFLAGS/" Make.Rules
make -C libcap
2014-03-19 00:19:34 +01:00
make -C libcap RAISE_SETFCAP=no DESTDIR=$PKG prefix=/usr lib=lib32 install
2013-10-27 07:55:32 +01:00
rm -r $PKG/usr/include
}