wok view libpng/receipt @ rev 11346

Up: libpng to 1.2.46. Downgrade from 1.4.8. Don't updated in less chroot does auto updates otherwise there will be no point.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 27 16:31:29 2011 +0000 (2011-11-27)
parents 8a245ae85a2d
children 8f3746fffb81
line source
1 # SliTaz package receipt.
3 PACKAGE="libpng"
4 VERSION="1.2.46"
5 CATEGORY="x-window"
6 SHORT_DESC="PNG images library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 BUILD_DEPENDS="pkg-config"
10 WEB_SITE="http://libpng.org/pub/png/libpng.html"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="zlib"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --enable-shared \
20 --prefix=/usr \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
26 cd contrib/pngminus
27 make PNGLIB="-L$DESTDIR/usr/lib -lpng" -f makefile.std png2pnm pnm2png
28 mkdir -p $DESTDIR/usr/bin
29 cp -a png2pnm pnm2png $DESTDIR/usr/bin
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $_pkg/usr/lib/libpng*.so* $fs/usr/lib
37 cp -a $_pkg/usr/bin $fs/usr
38 }