mirror of
https://github.com/pygos/build.git
synced 2024-11-22 11:09:46 +01:00
David Oberhollenzer
c8d01f966a
Been working on this for too long, don't remember the specifics, will add documentation. Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
27 lines
No EOL
506 B
Text
Executable file
27 lines
No EOL
506 B
Text
Executable file
VERSION="4.0.1"
|
|
SRCDIR="mpfr-$VERSION"
|
|
TARBALL="mpfr-$VERSION.tar.xz"
|
|
URL="http://ftp.gnu.org/gnu/mpfr"
|
|
SHA256SUM="67874a60826303ee2fb6affc6dc0ddd3e749e9bfcb4c8655e3953d0458a6e16e"
|
|
DEPENDS="tc-pkgtool"
|
|
|
|
prepare() {
|
|
return
|
|
}
|
|
|
|
build() {
|
|
return
|
|
}
|
|
|
|
deploy() {
|
|
touch "$2/$PKGNAME.files"
|
|
cat > "$2/$PKGNAME.desc" <<_EOF
|
|
name $PKGNAME
|
|
_EOF
|
|
}
|
|
|
|
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"
|
|
} |