# tkgames/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] # 1. This package installs eight small "tcltk"-based games obtained # from various open-source sites. For the associated URLs, see the # "url" section at the bottom of this file. #--------------------------------------------------------------------- # 2. License information: "bluetile", "tkhearts" and "tksol" appear to # be GPL V2 programs. "samegame" is marked as "distribution unlimit- # ed". The other four programs don't seem to provide explicit license # information. However, based on the original web pages, these pro- # grams are believed to be freely distributable. #--------------------------------------------------------------------- [buildtimes] 00.00 hours (or 000.02 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM 00.00 hours (or 000.02 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.00 hours (or 000.02 minutes) - ThinkPad E540 i7 4x2 16GB RAM #--------------------------------------------------------------------- [settings] configure = none license = See "technotes" in "cfg" file revision = special tmpsize = 1M unpack = none #--------------------------------------------------------------------- [depends] iwidgets tcltk #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin PROGDIR=$PKGDIR_PROD/program SPCDIR=$PKGDIR_SPECIAL mkdir -p $BINDIR $PROGDIR MSSRCDIR=$SPCDIR/misc SGSRCDIR=$SPCDIR/samegame cd $PROGDIR unzip -q $SGSRCDIR/same-game-tcl-1.15.zip tar zxf $MSSRCDIR/tksol-1.9.tar.gz mv same-game samegame cd samegame mv samegame{-1.15.tcl,} setunix samegame patch -p0 < $SGSRCDIR/samegame.spcpat chmod 755 samegame chmod -R a+w samegame cd .. cd $BINDIR tar jxf $MSSRCDIR/tkgames-misc.tar.bz2 ln -s tictactoe ttt cat < samegame #!/bin/sh cd $PROGDIR/samegame && ./samegame END cat < tksol #!/bin/sh cd $PROGDIR/tksol && ./tksol END chmod 755 iconnect4 samegame spirotool \ tclines tictactoe tkhearts tksol cd $BINDIR mv tclines{,.bin} cd $PROGDIR tar zxf $MSSRCDIR/bluetile.tar.gz bluetile/bluetile patch -p0 < $MSSRCDIR/bluetile.spcpat mv bluetile/bluetile bluetile.main chmod 755 bluetile.main rm -fr bluetile cd $BINDIR mv tictactoe $PROGDIR/tictactoe.main cp $SPCDIR/bluetile.wrapper.in bluetile cp $SPCDIR/tictactoe.wrapper.in tictactoe chmod 755 bluetile tictactoe #--------------------------------------------------------------------- cd $PKGDIR_PROD chown -R 0.0 . #--------------------------------------------------------------------- # 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_lfs = n/a url_src_bluetile = http://odur.let.rug.nl/%7Ekleiweg/ url_home_iconnect4 = http://wiki.tcl.tk/8905 url_home_samegame = http://www.geocities.com/TimesSquare/Alley/\ 5987/same/ url_home_spirotool = http://wiki.tcl.tk/4206 url_home_tclines = http://tclines.sourceforge.net/tclines url_home_tictactoe = http://wiki.tcl.tk/12374 url_home_tkhearts = http://tkgames.sourceforge.net/ url_home_tksol = http://tkgames.sourceforge.net/ url_src_bluetile = http://odur.let.rug.nl/%7Ekleiweg/lsm/\ bluetile.tar.gz url_src_iconnect4 = http://mywebpages.comcast.net/jakeforce/\ iConnect4.tcl url_src_samegame = http://www.geocities.com/TimesSquare/Alley/\ 5987/same/same-game-tcl-1.15.zip url_src_tclines = http://tclines.sourceforge.net/tclines url_src_tkhearts = http://downloads.sourceforge.net/sourceforge/\ tkgames/tkhearts-0.80.gz url_src_tksol = http://downloads.sourceforge.net/sourceforge/\ tkgames/tksol-1.9.tgz # Note: For the programs represented below, the home-page URLs are the # same as the corresponding source-code URLs. url_src_spirotool = http://wiki.tcl.tk/4206 url_src_tictactoe = http://wiki.tcl.tk/12374