build 370 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() {
gsell's avatar
gsell committed
4 5 6
	:
}

gsell's avatar
gsell committed
7
pbuild::build() {
gsell's avatar
gsell committed
8 9 10 11 12
        cd "${MODULE_SRCDIR}"

	make -j ${JOBS}
}

gsell's avatar
gsell committed
13
pbuild::install() {
gsell's avatar
gsell committed
14 15 16 17 18
        cd "${MODULE_SRCDIR}"
	mkdir -p ${PREFIX}/bin
	install -m 0755 mdtest "${PREFIX}/bin"
}

gsell's avatar
gsell committed
19 20 21 22
#pbuild::supported_os 'Linux'
pbuild::add_to_group 'System'
pbuild::set_build_dependencies "${COMPILER}" "${MPI}"
pbuild::make_all