1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-22 11:09:46 +01:00
build/pkg/fortify-headers/build
David Oberhollenzer 2e6604840b Bump fortify headers version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-04-18 22:02:21 +02:00

25 lines
553 B
Text
Executable file

VERSION="1.1"
SRCDIR="fortify-headers-$VERSION"
TARBALL="$SRCDIR.tar.xz"
URL="http://infraroot.at/pygos"
SHA256SUM="4b6118e4fc8ad87bc0c05d5a4c11b9a4e04fb06d6951d6f21d033458cdb7bdbb"
DEPENDS="linux-dev"
prepare() {
return
}
build() {
return
}
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"
}