wok view libpng/receipt @ rev 1192

Fix: now p7zip can deal with Rer files.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Aug 05 01:13:25 2008 +0200 (2008-08-05)
parents 674428d9fabf
children f686472ad1af
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 WEB_SITE="http://libpng.org/pub/png/libpng.html"
10 WGET_URL="$SF_MIRROR/libpng/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure \
17 --enable-shared \
18 --prefix=/usr \
19 --mandir=/usr/share/man \
20 $CONFIGURE_ARGS
21 make
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/libpng12.so* $fs/usr/lib
30 cp -a $_pkg/usr/lib/libpng.so $fs/usr/lib
31 }