wok-current annotate libpng/receipt @ rev 2449
rox-filer: update build-depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 13 14:48:44 2009 +0000 (2009-03-13) |
parents | a7e292361750 |
children | 59228667f806 |
rev | line source |
---|---|
pankso@23 | 1 # SliTaz package receipt. |
pankso@23 | 2 |
pankso@23 | 3 PACKAGE="libpng" |
pankso@907 | 4 VERSION="1.2.29" |
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" |
pascal@1443 | 9 BUILD_DEPENDS="pkg-config" |
pankso@23 | 10 WEB_SITE="http://libpng.org/pub/png/libpng.html" |
pankso@23 | 11 WGET_URL="$SF_MIRROR/libpng/$TARBALL" |
pankso@23 | 12 |
pankso@23 | 13 # Rules to configure and make the package. |
pankso@23 | 14 compile_rules() |
pankso@23 | 15 { |
pankso@23 | 16 cd $src |
pankso@908 | 17 ./configure \ |
pankso@908 | 18 --enable-shared \ |
pankso@908 | 19 --prefix=/usr \ |
pankso@908 | 20 --mandir=/usr/share/man \ |
pascal@1443 | 21 $CONFIGURE_ARGS && |
pascal@1443 | 22 make && |
pankso@23 | 23 make DESTDIR=$PWD/_pkg install |
pankso@23 | 24 } |
pankso@23 | 25 |
pankso@23 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@23 | 27 genpkg_rules() |
pankso@23 | 28 { |
pankso@908 | 29 mkdir -p $fs/usr/lib |
pankso@23 | 30 cp -a $_pkg/usr/lib/libpng12.so* $fs/usr/lib |
pankso@1101 | 31 cp -a $_pkg/usr/lib/libpng.so $fs/usr/lib |
pankso@23 | 32 } |