# tegel/cfg - "Build" settings for package

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

[technotes]

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

[buildtimes]

00.00 hours (or 000.05 minutes) - HP EliteBook 8560w 32GB RAM
00.00 hours (or 000.05 minutes) - ThinkPad E540 i7 4x2 16GB RAM
00.00 hours (or 000.07 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo
                                  7200 2GB RAM
00.00 hours (or 000.17 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB
                                  RAM

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

[settings]
addopt    = -O3
compiler  = gcc
configure = none
license   = GNU Lesser General Public License, version 2.1 (Feb. 1999)
revision  = numeric
tmpsize   = 2M
unpack    = none

setpaths  = allegro-legacy

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

[depends]
allegro5
allegro-legacy

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

[build]
INCDIR=$PKGDIR_PROD/include
LIBDIR=$PKGDIR_PROD/lib
mkdir -p $INCDIR $LIBDIR

export LACINCDIRS=$LACINCDIRS:$PRODTREE/allegro5/include

unzip -o $PKGDIR_MASTER/tegel*.zip
cd tegel
tree2unixtext --run
sh ./fix.sh linux
patch -p1 < $PKGDIR_SPECIAL/tegel.spcpat

make
cp -a include/tegel.h      $INCDIR/
cp -a lib/linux/libtegel.a $LIBDIR/

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

# 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://helixsoft.nl/project_page.php\
?file_name=tegel.proj

url_lfs     = n/a

url_tarball = http://downloads.sourceforge.net/tegel/\
tegel_v0.81_src.zip

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

[history]
250614 Rebased on "allegro-legacy"