build 339 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
		--prefix="${PREFIX}" \
		|| exit 1
}

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

gsell's avatar
gsell committed
12 13 14 15
pbuild::add_to_group 'Programming'
pbuild::set_docfiles 'AUTHORS' 'COPYING' 'NEWS' 'README' 'THANKS'
pbuild::set_build_dependencies 'autoconf' 'automake'
pbuild::make_all
gsell's avatar
gsell committed
16