all build scripts moved to a sub-directory according their name

This commit is contained in:
2015-01-20 16:18:09 +01:00
parent 1aa5fef253
commit d9be0b6af2
50 changed files with 0 additions and 0 deletions
+30
View File
@@ -0,0 +1,30 @@
#!/bin/bash
source "$(dirname $0)/../lib/libem.bash"
function em.configure() {
(cd "${MODULE_SRCDIR}" && ./autogen.sh)
"${MODULE_SRCDIR}"/configure \
--prefix="${PREFIX}" \
--enable-debug \
--enable-vtkconverter \
--with-hdf5="${HDF5_SERIAL_PREFIX}" \
--with-pic \
|| exit 1
}
function em.build() {
make -C src
make -C tools
}
function em.install() {
make -C src install
make -C tools install
}
em.add_to_family 'HDF5_serial'
em.set_runtime_dependencies "${COMPILER}" 'hdf5_serial'
em.set_build_dependencies "autoconf" "automake" "libtool" "${COMPILER}" "vtk" "hdf5_serial"
em.make_all