aboutsummaryrefslogtreecommitdiff
path: root/community/libcap/build
diff options
context:
space:
mode:
Diffstat (limited to 'community/libcap/build')
-rwxr-xr-xcommunity/libcap/build19
1 files changed, 19 insertions, 0 deletions
diff --git a/community/libcap/build b/community/libcap/build
new file mode 100755
index 00000000..c35c2254
--- /dev/null
+++ b/community/libcap/build
@@ -0,0 +1,19 @@
+#!/bin/sh -e
+
+sed -i '45d;46d' progs/Makefile
+
+mk() {
+ make \
+ GOLANG=no \
+ PREFIX=/usr \
+ SBINDIR=/usr/bin \
+ LIBDIR=/usr/lib \
+ PKGCONFIGDIR=/usr/lib/pkgconfig \
+ RAISE_SETFCAP=no \
+ INDENT=" " \
+ PAM_CAP=no \
+ "$@"
+}
+
+mk
+mk DESTDIR="$1" install