1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-11-05 19:47:09 +01:00
build/pkg/gmp/build
David Oberhollenzer 65d3741cdc Bump gmp version
Signed-off-by: David Oberhollenzer <goliath@infraroot.at>
2020-04-07 03:28:21 +02:00

26 lines
514 B
Text
Executable file

VERSION="6.2.0"
SRCDIR="gmp-$VERSION"
TARBALL="gmp-$VERSION.tar.bz2"
URL="http://ftp.gnu.org/gnu/gmp"
SHA256SUM="f51c99cb114deb21a60075ffb494c1a210eb9d7cb729ed042ddb7de9534451ea"
DEPENDS="toolchain"
SUBPKG="gmp gmp-dev gmp++ gmp++-dev"
prepare() {
return
}
build() {
run_configure "$1" --enable-cxx
make -j $NUMJOBS
}
deploy() {
unfuck_libtool
make DESTDIR="$PKGDEPLOYDIR" install
cp $SCRIPTDIR/pkg/$PKGNAME/*.{files,desc} "$PKGDEPLOYDIR"
}
check_update() {
check_update_simple "$URL" "gmp" "tar.bz2"
}