# snack/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] The source tarball used by this package was created roughly as fol- lows: * Unpack: snack_2.2.10.20090623-dfsg-6.debian.tar.xz snack_2.2.10.20090623-dfsg.orig.tar.xz * Rename the "snack2.2.10" tree from the 2nd tarball to: snack-debian-151119 * Apply all of the patches in the "debian" tree from 1st tarball to the "snack-debian-151119" tree. * Restore jkFormatMP3.* from the old tree patch is included chmod 644 `find . -type f` cp ex1.wav and .ogg from demo to demos sed -e 's/tclsh8.5/tclsh/g' -i *.tcl in demos chmod 755 *.tcl * Execute in the the latter tree: chown -R 0.0 * Set timestamps for files modified by the patches to November 19, 2015; the date of the "debian" tarball. remove the demo folder, keep demos * Create a tarball using "snack-debian-151119". #--------------------------------------------------------------------- [buildtimes] 00.01 hours (or 000.30 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.01 hours (or 000.43 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.02 hours (or 001.17 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] license = See "license*.txt" under installed tree nosyslinks = all proddir = $PRODTREE/tcltk purge = no revision = numeric shareddir = yes tmpsize = 5M unpack = relaxed #--------------------------------------------------------------------- [depends] actools alsa grep tcl:strict tcltk:strict #--------------------------------------------------------------------- [configure] cd unix bash ./configure \ --prefix=$PKGDIR_PROD \ --enable-alsa \ --with-ogg-include=$PRODTREE/libvorbis/include \ --with-ogg-lib=$PRODTREE/libvorbis/lib \ --with-tcl=$PKGDIR_PROD/bin \ --with-tk=$PKGDIR_PROD/bin #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin DOCDIR=$PKGDIR_PROD/doc LIBDIR=$PKGDIR_PROD/lib SNACKDIR=$LIBDIR/snack2.2 mkdir -p $DOCDIR $LIBDIR $SNACKDIR cd unix make cp -p ../BSD.txt $DOCDIR/license-snack.txt cp -p lib*.a $LIBDIR/ cp -p lib*.so {pkgIndex,snack}.tcl $SNACKDIR/ cd ../demos/tcl cp -p tomAmp.tcl $BINDIR/tomamp ln -nsf $BINDIR/tomamp $SYSTREE/bin/ ln -nsf $BINDIR/tomamp $SYSTREE/bin/tamp #--------------------------------------------------------------------- # 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 = Not checked yet url_home = http://www.speech.kth.se/snack/ url_lfs = n/a url_tarball = http://www.speech.kth.se/snack/dist/\ snack2.2.10.tar.gz