From 46b6f2663461c9ccfc103531c67479ca494bbb49 Mon Sep 17 00:00:00 2001 From: kurth4cker Date: Fri, 11 Nov 2022 14:04:36 +0300 Subject: [PATCH] add libseccomp-2.5.4 --- system/extra/libseccomp/ympbuild | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 system/extra/libseccomp/ympbuild diff --git a/system/extra/libseccomp/ympbuild b/system/extra/libseccomp/ympbuild new file mode 100644 index 00000000..d972f2fb --- /dev/null +++ b/system/extra/libseccomp/ympbuild @@ -0,0 +1,30 @@ +#!/usr/bin/env bash +name=libseccomp +version=2.5.4 +release=1 +homepage='https://github.com/seccomp/libseccomp' +description='high level interface to linux seccomp filter' +maintainer='kurth4cker' +email='kurth4cker@tutanota.com' +license=('LGPL-2.1') +source=("https://github.com/seccomp/libseccomp/releases/download/v${version}/libseccomp-${version}.tar.gz") +md5sums=('74008bb33234e0c2a0d998e7bee5c625') +group=(system.extra) + +cd $name-$version + +setup(){ + ./configure --prefix=/usr \ + --libdir=/usr/lib64 \ + --enable-static \ + --enable-shared \ + --disable-silent-rules \ + --disable-python + --disable-code-coverage +} +build(){ + make -j$(nproc) +} +package(){ + make install -j$(nproc) +}