# bananas/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. This program was created originally for the Allegro Speedhack 2006 contest. It seems to be redistributable. Additionally, the author dis- tributed the source code as a free download. However, the source code doesn't provide explicit license information. #--------------------------------------------------------------------- 2. The source tarball used by this package was created locally based on the following upstream tarball: http://www.helixsoft.nl/download/fole1_fix_src.zip As of 2021, the upstream tarball had disappeared but a copy is provid- ed with this "cfg" file. #--------------------------------------------------------------------- 3. This version of the game is single-player. By default, the player plays as the cat character "Fole". If the following CLI commands are used, the player plays as the monkey character "Raul": export RAULGAME=1 bananas or: bananas-raul #--------------------------------------------------------------------- 4. Sound only works well for this package if: (a) "openmpt" is used instead of "dumb" to handle MOD sound (b) "openmpt" is built with PulseAudio support #--------------------------------------------------------------------- [buildtimes] 00.00 hours (or 000.22 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.00 hours (or 000.25 minutes) - HP EliteBook 8560w 32GB RAM 00.00 hours (or 000.28 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.02 hours (or 001.20 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM #--------------------------------------------------------------------- [settings] addopt = -O3 compiler = gcc configure = none ldafter = -lalleg -lasound license = See "technotes" in "cfg" file revision = 070507 tmpsize = 1M setpaths = \ alsa jackone libaldmb openal \ xorg \ allegro-legacy #--------------------------------------------------------------------- [depends] allegro5 allegro-legacy alsa jackone libaldmb tegel xorg #--------------------------------------------------------------------- [build] BINDIR=$PKGDIR_PROD/bin PROGDIR=$PKGDIR_PROD/program S=$PKGDIR_SPECIAL mkdir -p $BINDIR $PROGDIR export LACINCDIRS=$LACINCDIRS:$PRODTREE/allegro5/include sed -e 's@GFX_AUTODETECT_FULLSCREEN@GFX_AUTODETECT_WINDOWED@' \ -e 's@DIGI_ALSA@DIGI_AUTODETECT@' \ -i src/main.cpp sed -e 's@"data/@"@' \ -i src/resources.cpp sed -e 's/-ltegel -laldmd -ldumbd/-ltegel -laldmb -ldumb/' -i makefile sh ./fix.sh linux make rm -fr fix* include obj src zip* rm -fr icon.* makefile target.os *.txt cp -a * $PROGDIR/ chmod 777 $PROGDIR/ sed -e "s|__META_PREFIX__|$PKGDIR_PROD|" \ < $S/bananas.wrapper.in \ > $BINDIR/bananas chmod 755 $BINDIR/bananas cat > $BINDIR/bananas-raul << END export RAULGAME=1 exec $BINDIR/bananas END chmod 755 $BINDIR/bananas-raul cd $PROGDIR mv data/* . rmdir data cp -p $PRODTREE/allegro-legacy/cfg/*.cfg . #--------------------------------------------------------------------- # 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 url_home = http://www.helixsoft.nl/ url_lfs = n/a url_tarball = special # See "technotes" in "cfg" file #--------------------------------------------------------------------- [history] 250614 Rebased on "allegro-legacy" 250615 Restored support for the monkey character "Raul"