#
# author: hackbard@hackdaworld.dyndns.org
#
-# [V] 1.2.5
+# [V] 1.2.8
# [S] 3-3
-# [D] libpng-1.2.5.tar.bz2 http://unc.dl.sourceforge.net/sourceforge/libpng/
+# [D] libpng-1.2.8.tar.bz2 http://mesh.dl.sourceforge.net/sourceforge/libpng/
+
+make_conf="prefix=$prefix ZLIBINC= ZLIBLIB= $make_conf"
+install_conf="prefix=$prefix $install_conf"
pre_install() {
cp -v scripts/makefile.linux Makefile
}
+
post_install() {
[ -f $prefix/include/libpng12/png.h ] && \
ln -svf libpng12/png.h $prefix/include/png.h