wok-6.x view libpng/receipt @ rev 1457
atl2: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 03 16:39:33 2008 +0000 (2008-10-03) |
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 }