mirror of
https://github.com/pygos/build.git
synced 2024-11-16 08:27:11 +01:00
David Oberhollenzer
fa4eff263b
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>
20 lines
469 B
Text
20 lines
469 B
Text
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"
|
|
}
|