Files
MX_Pmodule/Libraries/mpc/build
Achim Gsell 20a7212808 Libraries/mpfr/build
- SOURCE_URL added
2017-05-09 01:25:31 +02:00

21 lines
397 B
Plaintext
Executable File

#!/usr/bin/env modbuild
SOURCE_URL="ftp://ftp.gnu.org/gnu/$P/$P-$V_MAJOR.$V_MINOR.$V_PATCHLVL.tar.gz"
pbuild::configure() {
"${MODULE_SRCDIR}"/configure \
--prefix="${PREFIX}" \
--with-gmp=$GMP_PREFIX \
--with-mpfr=$MPFR_PREFIX \
--disable-shared \
|| exit 1
}
# use system gcc to compile
declare -rx CC=gcc
module use 'Libraries'
pbuild::add_to_group 'Libraries'
pbuild::make_all