1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-05-07 06:16:13 +02:00
build/pkg/libseccomp/build
David Oberhollenzer fa4eff263b Cleanup: implement defaults for package functions
This commit adds an "emptypackage" template that implements defaults
for all package functions and is included before every package.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2020-04-16 15:16:58 +02:00

21 lines
469 B
Plaintext

VERSION="2.4.1"
SRCDIR="libseccomp-${VERSION}"
TARBALL="${SRCDIR}.tar.gz"
URL="https://github.com/seccomp/libseccomp/releases/download/v${VERSION}"
SHA256SUM="1ca3735249af66a1b2f762fe6e710fcc294ad7185f1cc961e5bd83f9988006e8"
DEPENDS="toolchain"
build() {
run_configure "$1"
make -j $NUMJOBS
}
deploy() {
make DESTDIR="$PKGDEPLOYDIR" install
}
check_update() {
check_update_simple "https://github.com/seccomp/libseccomp/releases" \
"libseccomp" "tar.gz"
}