wok-current view libpng/receipt @ rev 23
Add : jpeg, libpng, tiff-* and xterm
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue Dec 18 13:48:52 2007 +0100 (2007-12-18) |
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 }