all buildblocks moved one level up
This commit is contained in:
27
Programming/Tcl/build
Executable file
27
Programming/Tcl/build
Executable file
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::configure() {
|
||||
case ${OS} in
|
||||
Linux )
|
||||
srcdir="${MODULE_SRCDIR}/unix"
|
||||
;;
|
||||
Darwin )
|
||||
srcdir="${MODULE_SRCDIR}/macosx"
|
||||
;;
|
||||
esac
|
||||
"${srcdir}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--enable-shared=no \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
pbuild::post_install() {
|
||||
{ cd "${PREFIX}"/bin && rm -f tclsh && ln -fs tclsh${V%.*} tclsh; };
|
||||
}
|
||||
|
||||
# use system's cc
|
||||
declare CC=cc
|
||||
|
||||
pbuild::add_to_group 'Programming'
|
||||
pbuild::set_docfiles 'license.terms' 'README'
|
||||
pbuild::make_all
|
||||
17
Programming/Tcl/modulefile
Normal file
17
Programming/Tcl/modulefile
Normal file
@@ -0,0 +1,17 @@
|
||||
#%Module1.0
|
||||
|
||||
set whatis "a very powerful, easy to learn programming language"
|
||||
set url "http://www.tcl.tk"
|
||||
set license "BSD-lik"
|
||||
set maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
set help "
|
||||
Tcl (Tool Command Language) is a very powerful but easy to learn dynamic
|
||||
programming language, suitable for a very wide range of uses, including
|
||||
web and desktop applications, networking, administration, testing and many
|
||||
more. Open source and business-friendly, Tcl is a mature yet evolving
|
||||
language that is truly cross platform, easily deployed and highly
|
||||
extensible.
|
||||
"
|
||||
|
||||
source $env(PSI_LIBMODULES)
|
||||
Reference in New Issue
Block a user