wok-next annotate libpng/receipt @ rev 1377
Add: ncmpc (mpd ncurses client)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Thu Sep 11 15:19:20 2008 +0000 (2008-09-11) |
parents | 674428d9fabf |
children | f686472ad1af |
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" |
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@908 | 16 ./configure \ |
pankso@908 | 17 --enable-shared \ |
pankso@908 | 18 --prefix=/usr \ |
pankso@908 | 19 --mandir=/usr/share/man \ |
pankso@908 | 20 $CONFIGURE_ARGS |
pankso@23 | 21 make |
pankso@23 | 22 make DESTDIR=$PWD/_pkg install |
pankso@23 | 23 } |
pankso@23 | 24 |
pankso@23 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@23 | 26 genpkg_rules() |
pankso@23 | 27 { |
pankso@908 | 28 mkdir -p $fs/usr/lib |
pankso@23 | 29 cp -a $_pkg/usr/lib/libpng12.so* $fs/usr/lib |
pankso@1101 | 30 cp -a $_pkg/usr/lib/libpng.so $fs/usr/lib |
pankso@23 | 31 } |