wok-6.x view libpng/receipt @ rev 14909
slitaz-i18n: add slitaz-configs as bdep; slitaz-configs: back openbox menu; locale-el, locale-ru: add keyboard layout icons; locale-fr, locale-hu, locale-pt_BR: recook with openbox menu.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Aug 05 11:40:01 2013 +0300 (2013-08-05) |
parents | 8f3746fffb81 |
children | 51a1ebbda768 |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://libpng.org/pub/png/libpng.html"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="zlib"
13 BUILD_DEPENDS="pkg-config gawk zlib-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --enable-shared \
21 --prefix=/usr \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
27 cd contrib/pngminus
28 make PNGLIB="-L$DESTDIR/usr/lib -lpng" -f makefile.std png2pnm pnm2png
29 mkdir -p $DESTDIR/usr/bin
30 cp -a png2pnm pnm2png $DESTDIR/usr/bin
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $install/usr/lib/libpng*.so* $fs/usr/lib
38 cp -a $install/usr/bin $fs/usr
39 }