- 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,12 +1,12 @@
#!/bin/bash
#set -o functrace
source "$(dirname $0)/../../../lib/libem.bash"
source "$(dirname $0)/../../../lib/libpmodules.bash"
TCL_DIR="${PMODULES_ROOT}/Tools/Pmodules/${PMODULES_VERSION}"
PATH="${TCL_DIR}/bin:${PATH}"
function em.configure() {
pmodules.configure() {
case ${OS} in
Linux )
declare -x LIBS="-lz -lpthread"
@@ -25,7 +25,7 @@ function em.configure() {
|| exit 1
}
function em.post_install() {
pmodules.post_install() {
rm -v ${PREFIX}/Modules/bin/add.modules
rm -v ${PREFIX}/Modules/bin/mkroot
rm -rfv ${PREFIX}/Modules/modulefiles
@@ -47,8 +47,8 @@ module() {
# use system gcc to compile
declare -rx CC=gcc
em.add_to_family 'Tools'
em.make_all
pmodules.add_to_group 'Tools'
pmodules.make_all
# Local Variables:
# mode: sh