wok-current view libpng/receipt @ rev 11815
ncmpcpp: up (0.5.8) and chown fix
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Feb 25 17:26:26 2012 +0000 (2012-02-25) |
parents | 810a579f14cf |
children | d0d55b9a5cff |
line source
1 # SliTaz package receipt.
3 PACKAGE="libpng"
4 VERSION="1.5.9"
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"
13 DEPENDS="zlib"
14 BUILD_DEPENDS="gawk zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --enable-shared \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
28 cd contrib/pngminus
29 make PNGLIB="-L$DESTDIR/usr/lib -lpng" -f makefile.std png2pnm pnm2png
30 mkdir -p $DESTDIR/usr/bin
31 cp -a png2pnm pnm2png $DESTDIR/usr/bin
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/libpng*.so* $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 }