summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--repo/core/libcap-ng.xibuild15
1 files changed, 15 insertions, 0 deletions
diff --git a/repo/core/libcap-ng.xibuild b/repo/core/libcap-ng.xibuild
new file mode 100644
index 0000000..c677415
--- /dev/null
+++ b/repo/core/libcap-ng.xibuild
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+DEPS=(glibc)
+
+SOURCE=https://github.com/stevegrubb/libcap-ng/archive/refs/tags/v0.8.2.tar.gz
+
+DESC="A library for linux that makes posix capabilities easy"
+
+build () {
+ make prefix=/usr lib=lib
+}
+
+package() {
+ make prefix=/usr lib=lib DESTDIR=$PKG_DEST install
+}