# ncchess/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. "ncchess" is also known as Nuclear Chess. #--------------------------------------------------------------------- 2. This distro makes some changes to Nuclear Chess. Most importantly: a. The local version adds an "explosion" sound effect. b. To save disk space, a logo animation sequence has been drop- ped. Note: Other animation sequences aren't affected. c. For the same reason, two large PNG images have been replaced with JPEG images. d. The local version adds a window title. e. If the local desktop environment includes an MS-Windows-style "tab bar", this version of the program adds an appropriate icon to the "tab bar". #--------------------------------------------------------------------- [buildtimes] 00.00 hours (or 000.27 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.01 hours (or 000.32 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.01 hours (or 000.33 minutes) - HP EliteBook 8560w 32GB RAM 00.01 hours (or 000.57 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] build = default exepack = yes ldbefore = -lX11 -lm -lc license = GNU General Public License, version 2 (June 1991) tmpsize = 2M unpack = relaxed setpaths = xorg #--------------------------------------------------------------------- [depends] actools alsa # Our version uses "aplay" at runtime gawk jpeg netpbm optipng sdl xorg #--------------------------------------------------------------------- [configure] for x in board wood do (pngtopnm < gfx/$x.png | cjpeg -q 80 > gfx/$x.jpg) || exit 1 rm gfx/$x.png || exit 1 done for x in gfx/Makefile.* src/gui.c do sed -e "s|board\.png|board\.jpg|g" \ -e "s|wood\.png|wood\.jpg|g" \ -i $x done (optipng gfx/*.png || true) MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --disable-dependency-tracking \ --mandir=$MANBASE #--------------------------------------------------------------------- [postbuild] BINDIR=$PKGDIR_PROD/bin MISCDIR=$PKGDIR_PROD/misc mkdir -p $BINDIR $MISCDIR cd $BINDIR mv nuclearchess ncchess cd $MISCDIR unzip -o $PKGDIR_SPECIAL/data/explosion.zip cp -p $PKGDIR_SPECIAL/icons/ncchess.png . rm $PKGDIR_PROD/share/nuclearchess/gfx/anim*.png #--------------------------------------------------------------------- # 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.linux-games.com/nuclearchess/ url_lfs = n/a url_tarball = http://user.cs.tu-berlin.de/~karlb/nuclearchess/\ nuclearchess-1.0.0.tar.gz