wok-current view libpng/receipt @ rev 2043
Up: sqlite (3.6.10)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jan 16 19:29:31 2009 +0100 (2009-01-16) |
parents | a7e292361750 |
children | 59228667f806 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libpng"
4 VERSION="1.2.29"
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/libpng/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --enable-shared \
19 --prefix=/usr \
20 --mandir=/usr/share/man \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/libpng12.so* $fs/usr/lib
31 cp -a $_pkg/usr/lib/libpng.so $fs/usr/lib
32 }