- em.xyz renamed to pmodules.xxy
- underscore removed as prefix of function names - keyword function removed
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "$(dirname $0)/../../../lib/libem.bash"
|
||||
source "$(dirname $0)/../../../lib/libpmodules.bash"
|
||||
|
||||
module use 'Libraries'
|
||||
|
||||
@@ -14,7 +14,7 @@ Darwin )
|
||||
CXX=''
|
||||
COMPILER=''
|
||||
COMPILER_VERSION=''
|
||||
function em.post_install() {
|
||||
pmodules.post_install() {
|
||||
mkdir -p "${PREFIX}"
|
||||
cp -rv "${MODULE_BUILDDIR}"/nextstep/Emacs.app "${PREFIX}"
|
||||
}
|
||||
@@ -28,7 +28,7 @@ Linux )
|
||||
;;
|
||||
esac
|
||||
|
||||
function em.configure() {
|
||||
pmodules.configure() {
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
${configure_args} \
|
||||
@@ -36,7 +36,7 @@ function em.configure() {
|
||||
install -m 0755 -d "${PREFIX}"
|
||||
}
|
||||
|
||||
function em.post_install() {
|
||||
pmodules.post_install() {
|
||||
if [[ -d "${MODULE_BUILDDIR}/nextstep/Emacs.app" ]]; then
|
||||
cp -a "${MODULE_BUILDDIR}/nextstep/Emacs.app" "${PREFIX}"
|
||||
fi
|
||||
@@ -69,7 +69,7 @@ EOF
|
||||
chmod 0755 "${PREFIX}/bin/Emacsclient"
|
||||
}
|
||||
|
||||
em.add_to_family 'Tools'
|
||||
em.set_build_dependencies ${build_dependencies}
|
||||
em.make_all
|
||||
pmodules.add_to_group 'Tools'
|
||||
pmodules.set_build_dependencies ${build_dependencies}
|
||||
pmodules.make_all
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "$(dirname $0)/../../../lib/libem.bash"
|
||||
source "$(dirname $0)/../../../lib/libpmodules.bash"
|
||||
|
||||
function em.configure() {
|
||||
pmodules.configure() {
|
||||
cd "${MODULE_SRCDIR}"
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
@@ -10,15 +10,15 @@ function em.configure() {
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
function em.build() {
|
||||
pmodules.build() {
|
||||
cd "${MODULE_SRCDIR}"
|
||||
make
|
||||
}
|
||||
|
||||
em.add_to_family 'Tools'
|
||||
em.set_runtime_dependencies 'Tcl' 'Tk'
|
||||
em.set_docfiles 'COPYING' 'README'
|
||||
em.make_all
|
||||
pmodules.add_to_group 'Tools'
|
||||
pmodules.set_runtime_dependencies 'Tcl' 'Tk'
|
||||
pmodules.set_docfiles 'COPYING' 'README'
|
||||
pmodules.make_all
|
||||
|
||||
# Local Variables:
|
||||
# mode: sh
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "$(dirname $0)/../../../lib/libem.bash"
|
||||
source "$(dirname $0)/../../../lib/libpmodules.bash"
|
||||
|
||||
function em.configure() {
|
||||
pmodules.configure() {
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--with-pic=yes \
|
||||
@@ -10,10 +10,10 @@ function em.configure() {
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
em.add_to_family 'Tools'
|
||||
em.set_docfiles 'AUTHORS' 'COPYING' 'COPYING.LIB' 'LICENSE' 'README' 'THANKS'
|
||||
em.set_build_dependencies "gcc/4.8.3"
|
||||
em.make_all
|
||||
pmodules.add_to_group 'Tools'
|
||||
pmodules.set_docfiles 'AUTHORS' 'COPYING' 'COPYING.LIB' 'LICENSE' 'README' 'THANKS'
|
||||
pmodules.set_build_dependencies "gcc/4.8.3"
|
||||
pmodules.make_all
|
||||
|
||||
# Local Variables:
|
||||
# mode: sh
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "$(dirname $0)/../../../lib/libem.bash"
|
||||
source "$(dirname $0)/../../../lib/libpmodules.bash"
|
||||
|
||||
function em.configure() {
|
||||
pmodules.configure() {
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--with-gif=no \
|
||||
@@ -10,10 +10,10 @@ function em.configure() {
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
em.add_to_family 'Tools'
|
||||
em.set_docfiles 'Copyright' 'ChangeLog' 'NEWS' 'README'
|
||||
em.set_build_dependencies "${COMPILER}"
|
||||
em.make_all
|
||||
pmodules.add_to_group 'Tools'
|
||||
pmodules.set_docfiles 'Copyright' 'ChangeLog' 'NEWS' 'README'
|
||||
pmodules.set_build_dependencies "${COMPILER}"
|
||||
pmodules.make_all
|
||||
|
||||
# Local Variables:
|
||||
# mode: sh
|
||||
|
||||
Reference in New Issue
Block a user