kbs means Tclkit Kitgen Build System
RZ Some thoughts about a "may be" new package description syntax:
-- <pkg> <ver> ?<cmd> <script>?
<cmd> is one of require, source, configure, make, test, clean. The order is not significant. Everything is saved internally and checked before really used. <cmd> can be shortest unique abbreviation (p.e. t te tes test)
Define common functions:
-- {} {} test {-run make test} -- pkga {} test {-run make testaa}
Use common contents of the current command:
-- pkga 0.1 test {{*}[-- pkga {}]} -- pkga 0.2 test {{*}[-- {} {}]} -- pkga 0.3 test {{*}[-- pkga 0.2]
or with a special command:
-- pkga 0.2 test {-include pkga {}} -- pkga 0.2 test {eval [-get {} {}]aa}
Define a package:
-- pkga 0.1 require {-use tcl-8.5} -- pkga 0.1 source {-link dira} -- pkga 0.1 make {-run make} -- pkga 0.1 install {-run make install}
or with the same effect:
-- pkga 0.1 require {-exact tcl-8.5} source {-link dira}\ make {-run make} install {-run make install}
-- pkga {} default {{*}[-- pkga 0.2]}
or
-- pkga {} default {0.2}
Remove pkga version 0.1
-- pkga 0.1 remove {}
Remove all pkga versions
-- pkga {} remove {}
Remove all packages
-- {} {} remove {}