1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-05-18 11:36:13 +02:00
build/pkg/fortify-headers/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

18 lines
509 B
Plaintext
Executable file

VERSION="1.1"
SRCDIR="fortify-headers-$VERSION"
TARBALL="$SRCDIR.tar.xz"
URL="http://infraroot.at/pygos"
SHA256SUM="4b6118e4fc8ad87bc0c05d5a4c11b9a4e04fb06d6951d6f21d033458cdb7bdbb"
DEPENDS="linux-dev"
deploy() {
make -C "$1" PREFIX="" DESTDIR="$PKGDEPLOYDIR" install
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
}
check_update() {
curl --silent -L "http://git.2f30.org/fortify-headers/refs.html" | \
grep -o "<td>[0-9.]\+</td>" | grep -o "[0-9.]*" | \
verson_find_greatest "$VERSION"
}