1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-22 11:09:46 +01:00
build/pkg/tc-cloog/build
David Oberhollenzer 8fa44569d8 cleanup: remove deploy directory argument from package command
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-06 10:03:12 +01:00

27 lines
No EOL
552 B
Text
Executable file

VERSION="0.18.1"
SRCDIR="cloog-$VERSION"
TARBALL="cloog-$VERSION.tar.gz"
URL="ftp://gcc.gnu.org/pub/gcc/infrastructure"
SHA256SUM="02500a4edd14875f94fe84cbeda4290425cb0c1c2474c6f75d75a303d64b4196"
DEPENDS="tc-pkgtool"
prepare() {
return
}
build() {
return
}
deploy() {
touch "$PKGDEPLOYDIR/$PKGNAME.files"
cat > "$PKGDEPLOYDIR/$PKGNAME.desc" <<_EOF
name $PKGNAME
_EOF
}
check_update() {
curl --silent --list-only "$URL/" | grep -o "cloog-[0-9.]*tar.gz" | \
sed 's/cloog-//g' | sed 's/.tar.gz//g' | \
verson_find_greatest "$VERSION"
}