wok view libpng/receipt @ rev 14543
firefox-langpack-it: Up to 17.0.6esr
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Wed May 22 21:57:00 2013 +0200 (2013-05-22) |
parents | 8f3746fffb81 |
children | 51a1ebbda768 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libpng"
4 VERSION="1.2.47"
5 CATEGORY="x-window"
6 SHORT_DESC="PNG images library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://libpng.org/pub/png/libpng.html"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="zlib"
13 BUILD_DEPENDS="pkg-config gawk zlib-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --enable-shared \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
27 cd contrib/pngminus
28 make PNGLIB="-L$DESTDIR/usr/lib -lpng" -f makefile.std png2pnm pnm2png
29 mkdir -p $DESTDIR/usr/bin
30 cp -a png2pnm pnm2png $DESTDIR/usr/bin
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/libpng*.so* $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 }