build 326 Bytes
Newer Older
gsell's avatar
gsell committed
1
#!/usr/bin/env modbuild
gsell's avatar
gsell committed
2

gsell's avatar
gsell committed
3
pbuild::configure() {
4
	"${MODULE_SRCDIR}"/configure \
gsell's avatar
gsell committed
5 6 7 8 9 10 11 12 13
		--prefix="${PREFIX}" \
		--with-gmp=$GMP_PREFIX \
		--disable-shared \
		|| exit 1
}

# use system gcc to compile
declare -rx CC=gcc

14 15
module use 'Libraries'

gsell's avatar
gsell committed
16 17 18
pbuild::add_to_group 'Libraries'
pbuild::set_build_dependencies 'gmp'
pbuild::make_all