wok-6.x view libpng/receipt @ rev 599

glibc-base: iso14651_t1_common neede for en_GB and others
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 17 19:04:31 2008 +0200 (2008-04-17)
parents 8e5c96401d01
children 51b734870b96
line source
1 # SliTaz package receipt.
3 PACKAGE="libpng"
4 VERSION="1.2.24"
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 }