summaryrefslogtreecommitdiff
path: root/repo/core/libseccomp.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2021-12-23 00:32:02 +0000
committerdavidovski <david@davidovski.xyz>2021-12-23 00:32:02 +0000
commit067591abf6e67dec71daef7c117fc33ba060b6a5 (patch)
tree0197e936cfafc4db4741015aabff9b3fc56dc334 /repo/core/libseccomp.xibuild
parentaae26db6e3c15ba6d5619e414f661f0e942c1509 (diff)
added libseccomp
Diffstat (limited to 'repo/core/libseccomp.xibuild')
-rw-r--r--repo/core/libseccomp.xibuild15
1 files changed, 15 insertions, 0 deletions
diff --git a/repo/core/libseccomp.xibuild b/repo/core/libseccomp.xibuild
new file mode 100644
index 0000000..1d5fe3a
--- /dev/null
+++ b/repo/core/libseccomp.xibuild
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+DEPS=(glibc)
+
+SOURCE=https://github.com/seccomp/libseccomp/releases/download/v2.5.3/libseccomp-2.5.3.tar.gz
+
+DESC="Enhanced seccomp library"
+
+build () {
+ ./configure --prefix=/usr --disable-static &&
+ make
+ make check
+ make prefix=/usr lib=lib DESTDIR=$PKG_DEST install
+
+}