# incr-tcltk/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. The upstream name for this package is "itcl". However, the package actually installs two separate components: "itcl" - also known as "[incr tcl]" "itk" - also known as "[incr tk]" So, this distro refers to the package as "incr-tcltk". #--------------------------------------------------------------------- [buildtimes] 00.00 hours (or 000.12 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.00 hours (or 000.18 minutes) - 2021 L.A. dedi box: 6x2 CPU 32GB RAM 00.00 hours (or 000.20 minutes) - HP EliteBook 8560w 32GB RAM 00.01 hours (or 000.43 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.03 hours (or 001.67 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] build = default license = See "license*.txt" under installed tree proddir = $PRODTREE/tcltk purge = no setpaths = $PRODTREE/tcltk shareddir = yes tmpsize = 2M unpack = relaxed #--------------------------------------------------------------------- [depends] itcl tcltk-core:strict xorg #--------------------------------------------------------------------- [configure] MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE if [ $LACBITS == 64 ]; then BITSW=--enable-64bit else BITSW= fi bash ./configure \ --prefix=$PRODTREE/tcltk \ --mandir=$MANBASE \ --with-tcl=$PRODTREE/tcltk/bin \ --with-tk=$PRODTREE/tcltk/bin \ --with-itcl=$PRODTREE/tcltk/bin \ $BITSW #--------------------------------------------------------------------- [postbuild] BINDIR=$PKGDIR_PROD/bin LIBDIR=$PKGDIR_PROD/lib cd $BINDIR chmod 755 `find ../lib/ -type f -name \*.sh` ln -nsf `find ../lib/ -type f -name \*.sh` . cd $LIBDIR ln -nsf itk3.* itk cd itk ln -nsf . library exit 0 # Future change: Determine whether or not any of the past steps indi- # cated below are still needed. DOCDIR=$PKGDIR_PROD/doc mkdir -p $DOCDIR PKGDIR_TCLTK=$PRODTREE/tcltk BINDIR=$PKGDIR_TCLTK/bin INCR_TCLTK_DIR=$PKGDIR_TCLTK/incr-tcltk SPCDIR=$PKGDIR_SPECIAL cp -p license.terms $DOCDIR/license-incr-tcltk.txt cp -p $SPCDIR/{itcl,itk}Config.sh $BINDIR/ chmod 755 $BINDIR/{itcl,itk}Config.sh rm -fr $INCR_TCLTK_DIR mkdir $INCR_TCLTK_DIR cd $INCR_TCLTK_DIR ln -nsf ../bin/itclConfig.sh . ln -nsf ../bin/itkConfig.sh . mkdir -p config cp -p $SPCDIR/{installFile.tcl,mkinstalldirs} config/ chmod 755 config/{installFile.tcl,mkinstalldirs} mkdir -p {itcl,itk}/library ln -nsf ../../../lib/itcl3.4/itcl.tcl itcl/library/ ln -nsf ../../../lib/itk3.4/itk.tcl itk/library/ #--------------------------------------------------------------------- # 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 = n/a # Release 3.4 isn't addressed yet url_home = n/a # Ditto url_lfs = n/a # Ditto url_tarball = http://www.equi4.com/pub/tk/tars/itcl.tar.gz