mirror of
https://github.com/pygos/build.git
synced 2024-11-05 11:37:10 +01:00
25 lines
553 B
Text
Executable file
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"
|
|
}
|