1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-05-18 03:26:14 +02:00
build/pkg/tc-mpfr/build
David Oberhollenzer b1bdce20a9 Add automatic update chacking script
Crunch project websites and try to find the latest version for each
package without having to do the work manually.

Signed-off-by: David Oberhollenzer <david.oberhollenzer@tele2.at>
2018-05-08 15:01:23 +02:00

24 lines
425 B
Plaintext
Executable file

VERSION="4.0.1"
SRCDIR="mpfr-$VERSION"
TARBALL="mpfr-$VERSION.tar.xz"
URL="http://ftp.gnu.org/gnu/mpfr"
SHA256SUM="67874a60826303ee2fb6affc6dc0ddd3e749e9bfcb4c8655e3953d0458a6e16e"
DEPENDS=""
prepare() {
return
}
build() {
return
}
deploy() {
return
}
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"
}