added tcllib and tklib
authorJean-Claude Wippler <jcw@equi4.com>
Sat, 7 Apr 2007 19:33:33 +0000 (19:33 +0000)
committerJean-Claude Wippler <jcw@equi4.com>
Sat, 7 Apr 2007 19:33:33 +0000 (19:33 +0000)
git-svn-id: svn://svn.equi4.com/kitgen/trunk@1431 9e558909-932a-0410-a563-af77432da1eb

extdefs/tcllib.kbs [new file with mode: 0644]
extdefs/tklib.kbs [new file with mode: 0644]
kbs.tcl

diff --git a/extdefs/tcllib.kbs b/extdefs/tcllib.kbs
new file mode 100644 (file)
index 0000000..81feacd
--- /dev/null
@@ -0,0 +1,10 @@
+Version 1.9
+
+Sources cvs tcllib.cvs.sourceforge.net:/cvsroot/tcllib
+
+Build {
+    Run sh [Srcdir]/configure --prefix=[Destdir]
+    Run make install-libraries
+}
+
+Result [Unglob ../lib/tcllib1*]
\ No newline at end of file
diff --git a/extdefs/tklib.kbs b/extdefs/tklib.kbs
new file mode 100644 (file)
index 0000000..6e4009e
--- /dev/null
@@ -0,0 +1,10 @@
+Version 0.4
+
+Sources cvs tcllib.cvs.sourceforge.net:/cvsroot/tcllib tklib
+
+Build {
+    Run sh [Srcdir]/configure --prefix=[Destdir]
+    Run make install-libraries
+}
+
+Result [Unglob ../lib/tklib0*]
\ No newline at end of file
diff --git a/kbs.tcl b/kbs.tcl
index c6e74dd2627c3b8ae21548765e84d46e0b17c1e9..b6e9a3d834d01fd481d7a8f3727f4c6c7ddd85d1 100644 (file)
--- a/kbs.tcl
+++ b/kbs.tcl
@@ -145,6 +145,10 @@ namespace eval config {
         return [Topdir]/sources/$v::package-$v::version
     }
     
+    proc Destdir {} {
+        return $v::maindir/build
+    }
+    
     proc Incdir {} {
         return $v::maindir/build/include
     }