summaryrefslogtreecommitdiff
path: root/repo/system/libcap.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/libcap.xibuild')
-rw-r--r--repo/system/libcap.xibuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/repo/system/libcap.xibuild b/repo/system/libcap.xibuild
index 934af99..42c2e9f 100644
--- a/repo/system/libcap.xibuild
+++ b/repo/system/libcap.xibuild
@@ -7,16 +7,19 @@ SOURCE=https://git.kernel.org/pub/scm/libs/libcap/libcap.git/snapshot/libcap-$PK
DESC="POSIX 1003.1e capabilities"
-build () {
+patch () {
sed -i '/install -m.*STA/d' libcap/Makefile
+}
+build () {
make prefix=/usr lib=lib
+}
+check () {
make test
- make prefix=/usr lib=lib DESTDIR=$PKG_DEST install
-
}
package() {
+ make prefix=/usr lib=lib DESTDIR=$PKG_DEST install
chmod -v 755 $PKG_DEST/usr/lib/lib{cap,psx}.so.*
}