summaryrefslogtreecommitdiff
path: root/repo/system/libcap-ng.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/system/libcap-ng.xibuild')
-rw-r--r--repo/system/libcap-ng.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/system/libcap-ng.xibuild b/repo/system/libcap-ng.xibuild
new file mode 100644
index 0000000..eaad150
--- /dev/null
+++ b/repo/system/libcap-ng.xibuild
@@ -0,0 +1,17 @@
+#!/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 () {
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make prefix=/usr lib=lib
+}
+
+package() {
+ make prefix=/usr lib=lib DESTDIR=$PKG_DEST install
+}