- Bootstrap/ moved one level up

- pmodules.xyz() functions renamed to pbuild::xyz()
- use pbuild for bootstrapping components
This commit is contained in:
2015-09-17 15:03:03 +02:00
parent 99a7feb85c
commit eee5c158cb
31 changed files with 135 additions and 60 deletions

24
Bootstrap/Tcl/build Executable file
View File

@@ -0,0 +1,24 @@
#!/usr/bin/env pbuild
pmodules.configure() {
case ${OS} in
Linux )
srcdir="${MODULE_SRCDIR}/unix"
;;
Darwin )
srcdir="${MODULE_SRCDIR}/macosx"
;;
esac
"${srcdir}"/configure \
--prefix="${PREFIX}" \
--enable-shared=no \
|| exit 1
}
pmodules.post_install() {
{ cd "${PREFIX}"/bin && rm -f tclsh && ln -fs tclsh${V%.*} tclsh; };
}
pmodules.add_to_group 'Tools'
pmodules.set_docfiles 'license.terms' 'README'
pmodules.make_all