Files
MX_Pmodule/Libraries/mpfr/build
Achim Gsell 2cb089e451 Libraries/mpfr/build
- SOURCE_URL added
2017-05-09 01:27:05 +02:00

20 lines
347 B
Plaintext
Executable File

#!/usr/bin/env modbuild
SOURCE_URL="http://www.mpfr.org/$P-current/$P-$V.tar.gz"
pbuild::configure() {
"${MODULE_SRCDIR}"/configure \
--prefix="${PREFIX}" \
--with-gmp=$GMP_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