From 2fb9ef48cad0bb25d10085b3bb1640394dbba06f Mon Sep 17 00:00:00 2001 From: Jean-Claude Wippler Date: Sat, 31 Mar 2007 15:51:59 +0000 Subject: [PATCH] moved ext sources to sources/, so tclvfs and vlerq can be added without interfering git-svn-id: svn://svn.equi4.com/kitgen/trunk@1357 9e558909-932a-0410-a563-af77432da1eb --- extdefs/trofs.kbs | 13 +++++++++++++ extdefs/vfs.kbs | 11 +++++++++++ extdefs/vlerq.kbs | 11 +++++++++++ kbs.tcl | 6 ++---- 4 files changed, 37 insertions(+), 4 deletions(-) create mode 100644 extdefs/trofs.kbs create mode 100644 extdefs/vfs.kbs create mode 100644 extdefs/vlerq.kbs diff --git a/extdefs/trofs.kbs b/extdefs/trofs.kbs new file mode 100644 index 0000000..0895af7 --- /dev/null +++ b/extdefs/trofs.kbs @@ -0,0 +1,13 @@ +Version 0.4.3 + +Sources fetch http://math.nist.gov/~DPorter/tcltk/trofs/trofs[Version].tar.gz + +package require Tcl 8.5 + +Build { + Sh [Srcdir]/configure --with-tcl=[Libdir] + Sh make install-binaries + Sh strip -x [Unglob ../lib/trofs0*/libtrofs0*] +} + +Result [Unglob ../lib/trofs0*] \ No newline at end of file diff --git a/extdefs/vfs.kbs b/extdefs/vfs.kbs new file mode 100644 index 0000000..b5a2acb --- /dev/null +++ b/extdefs/vfs.kbs @@ -0,0 +1,11 @@ +Version 1.3 + +Sources cvs tclvfs.cvs.sourceforge.net:/cvsroot/tclvfs + +Build { + Sh [Srcdir]/configure --with-tcl=[Libdir] + Sh make install-binaries + Sh strip -x [Unglob ../lib/vfs1*/libvfs1*] +} + +Result [Unglob ../lib/vfs1*] \ No newline at end of file diff --git a/extdefs/vlerq.kbs b/extdefs/vlerq.kbs new file mode 100644 index 0000000..383be3d --- /dev/null +++ b/extdefs/vlerq.kbs @@ -0,0 +1,11 @@ +Version 4.1 + +Sources fetch http://www.equi4.com/pub/vq/vlerqtcl-2007-01-25.tar.gz + +Build { + Sh [Srcdir]/configure --with-tcl=[Libdir] + Sh make install-binaries + Sh strip -x [Unglob ../lib/vlerqtcl4*/libvlerqtcl4*] +} + +Result [Unglob ../lib/vlerqtcl4*] \ No newline at end of file diff --git a/kbs.tcl b/kbs.tcl index 8cb17da..26cd340 100644 --- a/kbs.tcl +++ b/kbs.tcl @@ -141,10 +141,8 @@ namespace eval config { } proc Srcdir {} { - if {![file isdirectory [Topdir]/8.x]} { - file mkdir [Topdir]/8.x - } - return [Topdir]/8.x/$v::package-$v::version + file mkdir [Topdir]/sources + return [Topdir]/sources/$v::package-$v::version } proc Incdir {} { -- 2.23.0