Commit 87ffe565 authored by gsell's avatar gsell
Browse files

scripts/Programming/Tk/build: added

parent 12d6f2f5
#!/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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment