summaryrefslogtreecommitdiff
path: root/repo/system/libcap-ng
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/libcap-ng')
-rw-r--r--repo/system/libcap-ng/libcap-ng.xibuild19
1 files changed, 19 insertions, 0 deletions
diff --git a/repo/system/libcap-ng/libcap-ng.xibuild b/repo/system/libcap-ng/libcap-ng.xibuild
new file mode 100644
index 0000000..a67ebbf
--- /dev/null
+++ b/repo/system/libcap-ng/libcap-ng.xibuild
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+MAKEDEPS="make "
+DEPS="musl"
+
+PKG_VER=0.8.2
+SOURCE=https://github.com/stevegrubb/libcap-ng/archive/refs/tags/v$PKG_VER.tar.gz
+
+DESC="A library for linux that makes posix capabilities easy"
+
+build () {
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make prefix=/usr lib=lib
+}
+
+package() {
+ make prefix=/usr lib=lib DESTDIR=$PKG_DEST install
+}