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

taz & tazlito: declare files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 26 07:32:19 2008 +0000 (2008-04-26)
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 }