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 5d019b5f14 Add development package descriptions
For every package that generates headers and static libraries in addition
to other binaries, add a *-dev package with propper dependencies.

Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-03 17:47:02 +01:00

25 lines
540 B
Text
Executable file

VERSION="1.0"
SRCDIR="fortify-headers-$VERSION"
TARBALL="$SRCDIR.tar.xz"
URL="http://infraroot.at/pygos"
SHA256SUM="992af871941317b75b5520485111da14dd1b785dcb45de86244b1f6476182696"
DEPENDS="linux_headers"
prepare() {
return
}
build() {
return
}
deploy() {
make -C "$1" PREFIX="" DESTDIR="$2" install
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$DEPLOY"
}
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"
}