1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-05-20 20:46:13 +02:00
build/pkg/tc-isl/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
545 B
Plaintext
Executable file

VERSION="0.18"
SRCDIR="isl-$VERSION"
TARBALL="isl-$VERSION.tar.bz2"
URL="ftp://gcc.gnu.org/pub/gcc/infrastructure"
SHA256SUM="6b8b0fd7f81d0a957beb3679c81bbb34ccc7568d5682844d8924424a0dadcb1b"
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 "isl-[0-9.]*tar.bz2" | \
sed 's/isl-//g' | sed 's/.tar.bz2//g' | \
verson_find_greatest "$VERSION"
}