build 449 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::pre_configure() {
gsell's avatar
gsell committed
4 5 6
	./autogen.sh
}

gsell's avatar
gsell committed
7
pbuild::configure() {
8
	"${MODULE_SRCDIR}"/configure \
gsell's avatar
gsell committed
9 10 11 12 13 14 15
		--prefix="${PREFIX}" \
		--enable-h5hut \
		--enable-hdf5 \
		--enable-root \
		--with-pic
}

gsell's avatar
gsell committed
16 17 18 19
pbuild::add_to_group 'Compiler'
pbuild::set_runtime_dependencies "${COMPILER}" 'hdf5_serial' 'root'
pbuild::set_build_dependencies 'autoconf' 'automake' 'libtool' "${COMPILER}" 'hdf5_serial' 'H5hut_serial' 'root'
pbuild::make_all
gsell's avatar
gsell committed
20