build 268 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}" \
		--disable-shared \
		|| exit 1
}

# use system gcc to compile
declare -rx CC=gcc
declare -rx CPP=/usr/bin/cpp

gsell's avatar
gsell committed
14 15
pbuild::add_to_group 'Libraries'
pbuild::make_all
gsell's avatar
gsell committed
16