mpc: review, variant for 1.1.0 with gmp/6.1.2 and mpfr/4.0.1 added

This commit is contained in:
2018-07-02 13:12:40 +02:00
parent 443b3b092e
commit 16c0a5b676
2 changed files with 6 additions and 6 deletions

View File

@@ -3,3 +3,4 @@ mpc/1.0.3 stable b:gmp/6.1.0 b:mpfr/3.1.4
mpc/1.0.3-1 stable b:gmp/6.1.1 b:mpfr/3.1.4
mpc/1.0.3-2 stable b:gmp/6.1.2 b:mpfr/3.1.5
mpc/1.1.0 stable b:gmp/6.1.2 b:mpfr/4.0.0
mpc/1.1.0-1 unstable b:gmp/6.1.2 b:mpfr/4.0.1

View File

@@ -1,6 +1,10 @@
#!/usr/bin/env modbuild
SOURCE_URL="ftp://ftp.gnu.org/gnu/$P/$P-$V_MAJOR.$V_MINOR.$V_PATCHLVL.tar.gz"
module use 'Libraries'
pbuild::set_source_url "ftp://ftp.gnu.org/gnu/${P}/${P}-${V_PKG}.tar.gz"
pbuild::add_to_group 'Libraries'
pbuild::use_cc '/usr/bin/cc'
pbuild::configure() {
"${MODULE_SRCDIR}"/configure \
@@ -11,10 +15,5 @@ pbuild::configure() {
|| exit 1
}
# use system gcc to compile
declare -rx CC=gcc
module use 'Libraries'
pbuild::add_to_group 'Libraries'
pbuild::make_all