# tcl/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. "tcl" integration is tricky. The approach used here is based partly on BLFS. #--------------------------------------------------------------------- 2. Distro-specific issue: If other packages use "tclConfig.sh" to ob- tain "tcl" configuration information, their "configure" scripts may require minor changes. #--------------------------------------------------------------------- [buildtimes] 00.03 hours (or 002.07 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.04 hours (or 002.38 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.05 hours (or 003.00 minutes) - HP EliteBook 8560w 32GB RAM 00.05 hours (or 003.02 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.11 hours (or 006.77 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] license = tbd proddir = $PRODTREE/tcltk purge = yes revision = numeric setpaths = $PRODTREE/tcltk shareddir = yes tmpsize = 63M #--------------------------------------------------------------------- [depends] actools grep xorg #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE cd $PKGDIR_BUILD/unix/ if [ $LACBITS == 64 ]; then BITSW=--enable-64bit else BITSW= fi bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --disable-symbols \ --enable-threads \ --mandir=$MANBASE \ $BITSW #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin INCDIR=$PKGDIR_PROD/include LIBDIR=$PKGDIR_PROD/lib SRCDIR=`pwd` cd unix smpmake sed -e "s#$SRCDIR/unix#$LIBDIR#" \ -e "s#$SRCDIR#$INCDIR#" \ -i tclConfig.sh TDBCREV=1.1.3 sed -e "s#$SRCDIR/unix/pkgs/tdbc$TDBCREV#$LIBDIR/tdbc$TDBCREV#" \ -e "s#$SRCDIR/pkgs/tdbc$TDBCREV/generic#$INCDIR#" \ -e "s#$SRCDIR/pkgs/tdbc$TDBCREV/library#$LIBDIR/tcl8.6#" \ -e "s#$SRCDIR/pkgs/tdbc$TDBCREV#$INCDIR#" \ -i pkgs/tdbc$TDBCREV/tdbcConfig.sh ITCLREV=4.2.2 sed -e "s#$SRCDIR/unix/pkgs/itcl$ITCLREV#$LIBDIR/itcl$ITCLREV#" \ -e "s#$SRCDIR/pkgs/itcl$ITCLREV/generic#$INCDIR#" \ -e "s#$SRCDIR/pkgs/itcl$ITCLREV#$INCDIR#" \ -i pkgs/itcl$ITCLREV/itclConfig.sh make install make install-private-headers ln -v -sf tclsh8.6 $BINDIR/tclsh chmod -v 755 $LIBDIR/libtcl8.6.so cd $BINDIR chmod 755 `find ../lib/ -type f -name \*.sh` ln -nsf `find ../lib/ -type f -name \*.sh` . #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = Unknown url_home = http://www.tcl.tk/ url_lfs = http://www.linuxfromscratch.org/blfs/view/stable/\ general/tcl.html url_tarball = http://downloads.sourceforge.net/tcl/\ tcl8.6.12-src.tar.gz #--------------------------------------------------------------------- [history] 171222 Updated from 8.6.7 to 8.6.8 211113 Updated to 8.6.12