Files
MX_Pmodule/scripts/HDF5_serial/H5hut_serial/build
Achim Gsell b129a8d05d - em.xyz renamed to pmodules.xxy
- underscore removed as prefix of function names
- keyword function removed
2015-06-04 20:38:33 +02:00

31 lines
639 B
Bash
Executable File

#!/bin/bash
source "$(dirname $0)/../../../lib/libpmodules.bash"
pmodules.configure() {
(cd "${MODULE_SRCDIR}" && ./autogen.sh)
"${MODULE_SRCDIR}"/configure \
--prefix="${PREFIX}" \
--enable-debug \
--enable-vtkconverter \
--with-hdf5="${HDF5_SERIAL_PREFIX}" \
--with-pic \
|| exit 1
}
pmodules.build() {
make -C src
make -C tools
}
pmodules.install() {
make -C src install
make -C tools install
}
pmodules.add_to_group 'HDF5_serial'
pmodules.set_runtime_dependencies "${COMPILER}" 'hdf5_serial'
pmodules.set_build_dependencies "autoconf" "automake" "libtool" "${COMPILER}" "vtk" "hdf5_serial"
pmodules.make_all