Commit 1434c8a8 authored by gsell's avatar gsell
Browse files


- use modbuild in shebang
- refactor function calls
parent bc9e6379
#!/usr/bin/env modbuild
source $(dirname $0)/../../../lib/libpmodules.bash
pmodules.pre_configure() {
pbuild::pre_configure() {
pmodules.configure() {
pbuild::configure() {
"${MODULE_SRCDIR}"/configure \
--prefix="${PREFIX}" \
--enable-h5hut \
......@@ -15,8 +13,8 @@ pmodules.configure() {
pmodules.add_to_group 'Compiler'
pmodules.set_runtime_dependencies "${COMPILER}" 'hdf5_serial' 'root'
pmodules.set_build_dependencies 'autoconf' 'automake' 'libtool' "${COMPILER}" 'hdf5_serial' 'H5hut_serial' 'root'
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'
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment