all buildblocks moved one level up
This commit is contained in:
30
Programming/Tk/build
Executable file
30
Programming/Tk/build
Executable file
@@ -0,0 +1,30 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::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
|
||||
}
|
||||
|
||||
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_build_dependencies 'Tcl'
|
||||
pbuild::set_docfiles 'license.terms' 'README'
|
||||
pbuild::make_all
|
||||
16
Programming/Tk/modulefile
Normal file
16
Programming/Tk/modulefile
Normal file
@@ -0,0 +1,16 @@
|
||||
#%Module1.0
|
||||
|
||||
set whatis "graphical user interface toolkit"
|
||||
set url "http://www.tcl.tk"
|
||||
set license "BSD-like"
|
||||
set maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
set help "
|
||||
Tk is a graphical user interface toolkit that takes developing desktop
|
||||
applications to a higher level than conventional approaches. Tk is the
|
||||
standard GUI not only for Tcl, but for many other dynamic languages, and
|
||||
can produce rich, native applications that run unchanged across Windows,
|
||||
Mac OS X, Linux and more.
|
||||
"
|
||||
|
||||
source $env(PSI_LIBMODULES)
|
||||
Reference in New Issue
Block a user