Files
MX_Pmodule/scripts/Libraries/mpc/build
Achim Gsell b129a8d05d - em.xyz renamed to pmodules.xxy
- underscore removed as prefix of function names
- keyword function removed
2015-06-04 20:38:33 +02:00

22 lines
408 B
Bash
Executable File

#!/bin/bash
source "$(dirname $0)/../../../lib/libpmodules.bash"
pmodules.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'
pmodules.add_to_group 'Libraries'
pmodules.set_build_dependencies 'gmp' 'mpfr'
pmodules.make_all