# libpng12/cfg - "Build" settings for package
# Revision: 111216

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

[technotes]

# 1. This package  installs an old version of "libpng"  (specifically,
# release 1.2.46).  By default, the old version isn't used.  It's pro-
# vided for the benefit of packages that  may require it.  Those pack-
# ages will need to specify  "setpaths = libpng12"  at the  "cfg"-file
# level.

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

[buildtimes]

00.01 hours (or 000.33 minutes) - ThinkPad E540 i7 4x2 16GB RAM
00.01 hours (or 000.45 minutes) - HP EliteBook 8560w 32GB RAM
00.01 hours (or 000.78 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo
                                  7200 2GB RAM

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

[settings]
build      = default
dontfind   = libpng
license    = See "license.txt" under installed tree
makejail   = yes
nosyslinks = yes
setpaths   = libpng12
tmpsize    = 7M

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

[depends]
actools
gawk
grep
sed
zlib

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

[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=yes            \
    --mandir=$MANBASE

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

[postbuild]
DOCDIR=$PKGDIR_PROD/doc
mkdir -p $DOCDIR
cp -p LICENSE $DOCDIR/license.txt

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

# 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/libpng
url_home    = http://www.libpng.org/pub/png/libpng.html

url_lfs     = http://www.linuxfromscratch.org/blfs/view/stable/\
general/libpng.html

url_tarball = http://downloads.sourceforge.net/\
libpng/libpng-1.2.50.tar.bz2