From 20ef083828ba61aec0c4b135baaa0da65f4b4d59 Mon Sep 17 00:00:00 2001 From: BtbN Date: Wed, 13 Jul 2022 14:19:14 +0200 Subject: [PATCH] Build GMP from hg --- scripts.d/25-gmp.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts.d/25-gmp.sh b/scripts.d/25-gmp.sh index 422d267..564adbf 100755 --- a/scripts.d/25-gmp.sh +++ b/scripts.d/25-gmp.sh @@ -1,21 +1,21 @@ #!/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() { return 0 } ffbuild_dockerbuild() { - wget "$GMP_SRC" -O gmp.tar.xz - tar xaf gmp.tar.xz - rm gmp.tar.xz - cd gmp* + hg clone -r "$SCRIPT_HGREV" -u "$SCRIPT_HGREV" "$SCRIPT_REPO" gmp + cd gmp - autoreconf -i + ./.bootstrap local myconf=( --prefix="$FFBUILD_PREFIX" + --enable-maintainer-mode --disable-shared --enable-static --with-pic