wok-next annotate libpng16/receipt @ rev 20645
Up libjpeg-turbo (1.5.3), libpng16 (1.6.34), libraw (0.18.7), shared-mime-info (1.9), tree (1.7.0), xapian (1.4.5); add time.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 01 23:19:32 2018 +0300 (2018-05-01) |
parents | 5841522533ec |
children | 2c6b8593f387 |
rev | line source |
---|---|
al@19735 | 1 # SliTaz package receipt v2. |
al@19735 | 2 |
al@19735 | 3 PACKAGE="libpng16" |
al@20645 | 4 VERSION="1.6.34" |
al@19735 | 5 CATEGORY="libs" |
al@19735 | 6 SHORT_DESC="PNG images library 1.6 series with APNG support" |
al@19735 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19735 | 8 LICENSE="zlib/libpng" |
al@19735 | 9 WEB_SITE="http://www.libpng.org/pub/png/libpng.html" |
al@20645 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libpng.html" |
al@19735 | 11 |
al@19735 | 12 TARBALL="libpng-$VERSION.tar.xz" |
al@19735 | 13 WGET_URL="$SF_MIRROR/libpng/$TARBALL" |
al@19735 | 14 |
al@20443 | 15 BUILD_DEPENDS="zlib-dev" |
al@19735 | 16 SPLIT="libpng16-dev" |
al@19735 | 17 |
al@20443 | 18 compile_rules() { |
al@19776 | 19 LIBS=-lpthread \ |
al@20645 | 20 ./configure \ |
al@20645 | 21 --disable-static \ |
al@20645 | 22 $CONFIGURE_ARGS && |
al@20595 | 23 fix libtool && |
al@20595 | 24 make && |
al@20595 | 25 make install || return 1 |
al@19776 | 26 |
al@20513 | 27 cook_pick_docs README libpng-manual.txt |
al@19735 | 28 |
al@19735 | 29 # Misc png tools |
al@19735 | 30 cd contrib/pngminus |
al@19735 | 31 make PNGLIB="-L$DESTDIR/usr/lib -lpng" -f makefile.std png2pnm pnm2png |
al@19735 | 32 cp -a png2pnm pnm2png $DESTDIR/usr/bin |
al@19735 | 33 } |
al@19735 | 34 |
al@20443 | 35 genpkg_rules() { |
al@19735 | 36 case $PACKAGE in |
al@19735 | 37 libpng16) |
al@19735 | 38 copy @std |
al@19735 | 39 DEPENDS="zlib" |
al@19735 | 40 ;; |
al@19735 | 41 libpng16-dev) |
al@19735 | 42 copy @dev |
al@20645 | 43 DEPENDS="libpng16 zlib-dev" |
al@19735 | 44 ;; |
al@19735 | 45 esac |
al@19735 | 46 } |