wok-6.x annotate libpng/receipt @ rev 5522
Up: libpng (1.2.43)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Tue May 11 00:48:06 2010 +0000 (2010-05-11) |
parents | 20e54699d622 |
children | cab8d2e3649f |
rev | line source |
---|---|
pankso@23 | 1 # SliTaz package receipt. |
pankso@23 | 2 |
pankso@23 | 3 PACKAGE="libpng" |
devl547@5522 | 4 VERSION="1.2.43" |
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" |
pascal@2476 | 12 DEPENDS="zlib" |
pankso@23 | 13 |
pankso@23 | 14 # Rules to configure and make the package. |
pankso@23 | 15 compile_rules() |
pankso@23 | 16 { |
pankso@23 | 17 cd $src |
pankso@908 | 18 ./configure \ |
pankso@908 | 19 --enable-shared \ |
pankso@908 | 20 --prefix=/usr \ |
pankso@908 | 21 --mandir=/usr/share/man \ |
pascal@1443 | 22 $CONFIGURE_ARGS && |
pascal@1443 | 23 make && |
pankso@23 | 24 make DESTDIR=$PWD/_pkg install |
pankso@23 | 25 } |
pankso@23 | 26 |
pankso@23 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@23 | 28 genpkg_rules() |
pankso@23 | 29 { |
pankso@908 | 30 mkdir -p $fs/usr/lib |
pankso@23 | 31 cp -a $_pkg/usr/lib/libpng12.so* $fs/usr/lib |
pankso@1101 | 32 cp -a $_pkg/usr/lib/libpng.so $fs/usr/lib |
pankso@23 | 33 } |