- 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
source "$(dirname $0)/../../../lib/libem.bash"
source "$(dirname $0)/../../../lib/libpmodules.bash"
function em.configure() {
pmodules.configure() {
:
}
function em.build() {
pmodules.build() {
case ${OS} in
Linux )
declare -x LDFLAGS="-lintl"
@@ -20,20 +20,20 @@ function em.build() {
make -e
}
function em.install() {
pmodules.install() {
cd "${MODULE_SRCDIR}"
declare -x DESTDIR="${PREFIX}"
declare -x prefix=''
make -e install
}
function em.cleanup_build() {
pmodules.cleanup_build() {
cd "${MODULE_SRCDIR}"
make -e realclean
}
em.add_to_family 'Tools'
em.make_all
pmodules.add_to_group 'Tools'
pmodules.make_all
# Local Variables:
# mode: sh