1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-22 19:19:46 +01:00
build/pkg/tc-mpfr/build
David Oberhollenzer 9e62e69969 Bump mpfr version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2019-03-10 17:29:34 +01:00

25 lines
No EOL
502 B
Text
Executable file

VERSION="4.0.2"
SRCDIR="mpfr-$VERSION"
TARBALL="mpfr-$VERSION.tar.xz"
URL="http://ftp.gnu.org/gnu/mpfr"
SHA256SUM="1d3be708604eae0e42d578ba93b390c2a145f17743a744d8f3f8c2ad5855a38a"
DEPENDS="tc-pkgtool"
prepare() {
return
}
build() {
return
}
deploy() {
touch "$PKGDEPLOYDIR/$PKGNAME.files"
touch "$PKGDEPLOYDIR/$PKGNAME.desc"
}
check_update() {
curl --silent -L "$URL" | grep -o ">mpfr-[0-9.]*tar.xz<" | \
sed 's/>mpfr-//g' | sed 's/.tar.xz<//g' | \
verson_find_greatest "$VERSION"
}