Merge branch 'master' of gitorious.psi.ch:pmodules/src

This commit is contained in:
2015-03-24 13:37:53 +01:00
4 changed files with 38 additions and 1 deletions

View File

@@ -21,7 +21,9 @@ function em.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.set_build_dependencies "${COMPILER}"
em.make_all

32
scripts/Programming/Tk/build Executable file
View File

@@ -0,0 +1,32 @@
#!/bin/bash
source "$(dirname $0)/../../../lib/libem.bash"
function em.configure() {
case ${OS} in
Linux )
srcdir="${MODULE_SRCDIR}/unix"
;;
Darwin )
srcdir="${MODULE_SRCDIR}/macosx"
;;
esac
"${srcdir}"/configure \
--prefix="${PREFIX}" \
--with-tcl=${TCL_PREFIX}/lib \
--enable-shared=no \
|| exit 1
}
function em.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_build_dependencies 'Tcl'
em.set_docfiles 'license.terms' 'README'
em.make_all

View File

@@ -16,6 +16,7 @@ function em.build() {
}
em.add_to_family 'Tools'
em.set_runtime_dependencies 'Tcl' 'Tk'
em.set_docfiles 'COPYING' 'README'
em.make_all

View File

@@ -0,0 +1,2 @@
Tcl/8.6.4
Tk/8.6.4