Build GMP from hg

This commit is contained in:
BtbN 2022-07-13 14:19:14 +02:00
parent 3ad7540a02
commit 20ef083828

View file

@ -1,21 +1,21 @@
#!/bin/bash #!/bin/bash
GMP_SRC="https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz" SCRIPT_REPO="https://gmplib.org/repo/gmp/"
SCRIPT_HGREV="cc75cab76738"
ffbuild_enabled() { ffbuild_enabled() {
return 0 return 0
} }
ffbuild_dockerbuild() { ffbuild_dockerbuild() {
wget "$GMP_SRC" -O gmp.tar.xz hg clone -r "$SCRIPT_HGREV" -u "$SCRIPT_HGREV" "$SCRIPT_REPO" gmp
tar xaf gmp.tar.xz cd gmp
rm gmp.tar.xz
cd gmp*
autoreconf -i ./.bootstrap
local myconf=( local myconf=(
--prefix="$FFBUILD_PREFIX" --prefix="$FFBUILD_PREFIX"
--enable-maintainer-mode
--disable-shared --disable-shared
--enable-static --enable-static
--with-pic --with-pic