wok view libpng/receipt @ rev 15683
Fix wrong variable
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Dec 20 20:47:24 2013 +0100 (2013-12-20) |
parents | d0d55b9a5cff |
children | c2504719b20a |
line source
1 # SliTaz package receipt.
3 PACKAGE="libpng"
4 VERSION="1.2.47"
5 CATEGORY="x-window"
6 SHORT_DESC="PNG images library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="zlib/libpng"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://libpng.org/pub/png/libpng.html"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 DEPENDS="zlib"
14 BUILD_DEPENDS="pkg-config gawk zlib-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --enable-shared \
22 --prefix=/usr \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$DESTDIR install
28 cd contrib/pngminus
29 make PNGLIB="-L$DESTDIR/usr/lib -lpng" -f makefile.std png2pnm pnm2png
30 mkdir -p $DESTDIR/usr/bin
31 cp -a png2pnm pnm2png $DESTDIR/usr/bin
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/libpng*.so* $fs/usr/lib
39 cp -a $install/usr/bin $fs/usr
40 }