wok-stable view libpng/receipt @ rev 97
Back to libX11 1.1.3
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jan 04 15:37:24 2008 +0100 (2008-01-04) |
parents | |
children | 08f17c9a39d4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libpng"
4 VERSION="1.2.20"
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 --enable-shared --prefix=/usr \
17 --mandir=/usr/share/man $CONFIGURE_ARGS
18 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin $fs/usr/lib
26 cp -a $_pkg/usr/lib/libpng12.so* $fs/usr/lib
27 cp -a $_pkg/usr/bin/libpng12* $fs/usr/bin
28 strip -s $fs/usr/lib/*.so*
29 }