# twolame/cfg - "Build" settings for package

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

[about]

TwoLAME is  an  optimized  MPEG  Audio Layer 2 (MP2) encoder  based on
tooLAME by Mike Cheng, which in turn is based upon the ISO dist10 code
and portions of LAME.

Features added to TwoLAME:

* Thread-safe operation
* Both static and shared libraries (libtwolame)
* API is very similar to LAME's (simplifies porting)
* Frontend supports a wider range of input files (using libsndfile)
* automake/libtool/pkgconfig-based "build" system

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

[technotes]

1. "TwoLAME" is a fork of "Toolame".

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

[buildtimes]

00.00 hours (or 000.28 minutes) - HP EliteBook 8560w 32GB RAM
00.01 hours (or 000.30 minutes) - ThinkPad E540 i7 4x2 16GB RAM
00.01 hours (or 000.43 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo
                                  7200 2GB RAM
00.02 hours (or 001.17 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB
                                  RAM

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

[settings]
build    = default
compiler = clang
exepack  = yes
fortran  = disabled
license  = See "license*.txt" in installed tree
licfile  = COPYING
tmpsize  = 4M

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

[depends]
actools
gawk
grep
libsndfile
pkgconf
sed

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

[configure]
MANBASE=$PKGDIR_PROD/man
mkdir -p $MANBASE

bash ./configure \
    --prefix=$PKGDIR_PROD          \
    --build=$LACARCHBUILD          \
    --host=$LACARCHHOST            \
    --disable-dependency-tracking  \
    --enable-shared=yes            \
    --enable-static=no             \
    --mandir=$MANBASE

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

[postbuild]
cd $PKGDIR_PROD/bin
ln -s twolame toolame

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

# 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  = http://packages.debian.org/unstable/source/twolame
url_home    = http://www.twolame.org/
url_lfs     = n/a

url_tarball = http://downloads.sourceforge.net/twolame/\
twolame-0.3.13.tar.gz