- 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,8 +1,8 @@
#!/bin/bash
source "$(dirname $0)/../../../lib/libem.bash"
source "$(dirname $0)/../../../lib/libpmodules.bash"
function em.configure() {
pmodules.configure() {
case ${OS} in
Linux )
srcdir="${MODULE_SRCDIR}/unix"
@@ -17,13 +17,13 @@ function em.configure() {
|| exit 1
}
function em.post_install() {
pmodules.post_install() {
{ cd "${PREFIX}"/bin && rm -f tclsh && ln -fs tclsh${V%.*} tclsh; };
}
# use system's cc
declare CC=cc
em.add_to_family 'Programming'
em.set_docfiles 'license.terms' 'README'
em.make_all
pmodules.add_to_group 'Programming'
pmodules.set_docfiles 'license.terms' 'README'
pmodules.make_all