mirror of
https://github.com/pygos/build.git
synced 2024-11-25 12:20:42 +01:00
David Oberhollenzer
c8d01f966a
Been working on this for too long, don't remember the specifics, will add documentation. Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
25 lines
531 B
Text
Executable file
25 lines
531 B
Text
Executable file
VERSION="1.0"
|
|
SRCDIR="fortify-headers-$VERSION"
|
|
TARBALL="$SRCDIR.tar.xz"
|
|
URL="http://infraroot.at/pygos"
|
|
SHA256SUM="992af871941317b75b5520485111da14dd1b785dcb45de86244b1f6476182696"
|
|
DEPENDS="linux-dev"
|
|
|
|
prepare() {
|
|
return
|
|
}
|
|
|
|
build() {
|
|
return
|
|
}
|
|
|
|
deploy() {
|
|
make -C "$1" PREFIX="" DESTDIR="$2" install
|
|
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$2"
|
|
}
|
|
|
|
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"
|
|
}
|