1
0
Fork 0
mirror of https://github.com/pygos/build.git synced 2024-05-19 12:06:13 +02:00
build/pkg/gmp/build

23 lines
491 B
Plaintext
Raw Permalink Normal View History

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"
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"
}