summaryrefslogtreecommitdiff
path: root/core/libseccomp/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'core/libseccomp/MAKEPKG')
-rw-r--r--core/libseccomp/MAKEPKG36
1 files changed, 36 insertions, 0 deletions
diff --git a/core/libseccomp/MAKEPKG b/core/libseccomp/MAKEPKG
new file mode 100644
index 0000000..3326144
--- /dev/null
+++ b/core/libseccomp/MAKEPKG
@@ -0,0 +1,36 @@
+#!/bin/mkpkg
+# description: Syscall filtering library
+# url: https://github.com/seccomp/libseccomp
+
+name=libseccomp
+version=2.6.1
+release=1
+makedeps=(autoconf automake libtool gperf)
+source=(https://github.com/seccomp/$name/archive/v$version/$name-$version.tar.gz)
+
+sha256sums=(
+ "f9a13e4c633d319a9240189760ca348caa0837c0ebe2a09b17061da8ceaf60f0"
+)
+
+build() {
+ cd $name-$version
+
+ ./autogen.sh
+
+ ./configure \
+ --prefix=/ \
+ --libdir=/lib \
+ --mandir=/usr/share/man \
+ --disable-static
+
+ make
+ make DESTDIR=$PKG install
+
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh