# bananas/cfg - "Build" settings for package

#---------------------------------------------------------------------

[technotes]

1. This program was  created originally for the Allegro Speedhack 2006
contest  and  on that basis seems to be redistributable. Additionally,
the author distributed 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.

#---------------------------------------------------------------------

[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]
configure  = none
license    = See "technotes" in "cfg" file
revision   = 070507
tmpsize    = 1M

setpaths   = allegro44 alsa jackone libaldmb xorg

#---------------------------------------------------------------------

[depends]
allegro44
alsa
jackone
libaldmb
tegel
xorg

#---------------------------------------------------------------------

[build]
BINDIR=$PKGDIR_PROD/bin
PROGDIR=$PKGDIR_PROD/program
S=$PKGDIR_SPECIAL
mkdir -p $BINDIR $PROGDIR

sh ./fix.sh linux
make

rm -fr fix* include obj src zip*
rm -fr icon.* makefile target.os *.txt
upx --lzma fole1
cp -a *   $PROGDIR/
chmod 777 $PROGDIR/

sed -e "s|__META_PREFIX__|$PKGDIR_PROD|" \
        < $S/bananas.wrapper.in \
        > $BINDIR/bananas
chmod 755 $BINDIR/bananas

#---------------------------------------------------------------------

# 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