- em.xyz renamed to pmodules.xxy

- underscore removed as prefix of function names
- keyword function removed
This commit is contained in:
2015-06-04 20:38:33 +02:00
parent e26a9fae7f
commit b129a8d05d
68 changed files with 522 additions and 522 deletions

View File

@@ -1,21 +1,21 @@
#!/bin/bash
source "$(dirname $0)/../../../lib/libem.bash"
source "$(dirname $0)/../../../lib/libpmodules.bash"
function em.configure() {
pmodules.configure() {
"${MODULE_SRCDIR}"/configure \
--prefix="${PREFIX}" \
|| exit 1
}
function em.post_install() {
pmodules.post_install() {
ln -fs "${PREFIX}/bin/python${V%%.*}" "${PREFIX}/bin/python"
ln -fs "${PREFIX}/include/python${V%.*}m" "${PREFIX}/include/python"
ln -fs "${PREFIX}/include/python${V%.*}m" "${PREFIX}/include/python${V%.*}"
}
em.add_to_family 'Programming'
em.set_runtime_dependencies ""
em.set_build_dependencies "${COMPILER}"
em.make_all
pmodules.add_to_group 'Programming'
pmodules.set_runtime_dependencies ""
pmodules.set_build_dependencies "${COMPILER}"
pmodules.make_all