1 # Maintainer: Sébastien Duquette <ekse.0x@gmail.com>
2 # Contributor: Flemming Madsen (arch at themadsens dot dk)
7 pkgdesc="Provides OS primitives, file scanning, data records etc. for Tcl"
8 url="http://tclx.sourceforge.net"
12 source=("http://downloads.sourceforge.net/sourceforge/tclx/tclx${pkgver}.tar.bz2" \
13 "http://downloads.sourceforge.net/sourceforge/tcl/tcl${_tclsrcver}-src.tar.gz")
14 md5sums=('395c2fbe35e1723570b005161b9fc8f8' '7480432d8730263f267952788eb4839b')
17 cd $startdir/src/tclx${pkgver}
18 #[ "$NOEXTRACT" == 1 ] || patch < $startdir/configure.patch
19 cp /usr/lib/tclConfig.sh ..
20 echo "TCL_SRC_DIR=$startdir/src/tcl$_tclsrcver" >> ../tclConfig.sh
21 [ "$NOEXTRACT" == 1 ] || ./configure --prefix=/usr --enable-share \
22 --enable-gcc --with-tcl=$startdir/src
23 _tclsrc="TCL_SRC_DIR=$startdir/src/tcl$_tclsrcver \
24 TCL_TOP_DIR_NATIVE=$startdir/src/tcl$_tclsrcver"
25 make $_tclsrc || return 1
26 make $_tclsrc prefix=$startdir/pkg/usr \
27 exec_prefix=$startdir/pkg/usr install