wok-current annotate libpng/receipt @ rev 490
Up: slitaz-base-files (1.4) + slitaz-doc (1.2) to change slitaz release string
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 22 16:58:02 2008 +0100 (2008-03-22) |
parents | 8e5c96401d01 |
children | 51b734870b96 |
rev | line source |
---|---|
pankso@23 | 1 # SliTaz package receipt. |
pankso@23 | 2 |
pankso@23 | 3 PACKAGE="libpng" |
pankso@154 | 4 VERSION="1.2.24" |
pankso@23 | 5 CATEGORY="x-window" |
pankso@23 | 6 SHORT_DESC="PNG images library." |
pankso@23 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@23 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@23 | 9 WEB_SITE="http://libpng.org/pub/png/libpng.html" |
pankso@23 | 10 WGET_URL="$SF_MIRROR/libpng/$TARBALL" |
pankso@23 | 11 |
pankso@23 | 12 # Rules to configure and make the package. |
pankso@23 | 13 compile_rules() |
pankso@23 | 14 { |
pankso@23 | 15 cd $src |
pankso@23 | 16 ./configure --enable-shared --prefix=/usr \ |
pankso@23 | 17 --mandir=/usr/share/man $CONFIGURE_ARGS |
pankso@23 | 18 make |
pankso@23 | 19 make DESTDIR=$PWD/_pkg install |
pankso@23 | 20 } |
pankso@23 | 21 |
pankso@23 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@23 | 23 genpkg_rules() |
pankso@23 | 24 { |
pankso@23 | 25 mkdir -p $fs/usr/bin $fs/usr/lib |
pankso@23 | 26 cp -a $_pkg/usr/lib/libpng12.so* $fs/usr/lib |
pankso@23 | 27 cp -a $_pkg/usr/bin/libpng12* $fs/usr/bin |
pankso@23 | 28 strip -s $fs/usr/lib/*.so* |
pankso@23 | 29 } |