mirror of
https://github.com/pygos/build.git
synced 2024-11-25 12:20:42 +01:00
26 lines
514 B
Text
Executable file
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"
|
|
}
|