wok-next annotate libpng16/receipt @ rev 19825

Add fdk-aac; up cacerts (actualize its version on every cook), ffmpeg, ffmpegthumbnailer, lame, libgsf, tumbler.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Aug 01 00:49:30 2017 +0300 (2017-08-01)
parents 52c764d3ee0f
children 0e7893ac206d
rev   line source
al@19735 1 # SliTaz package receipt v2.
al@19735 2
al@19735 3 PACKAGE="libpng16"
al@19735 4 VERSION="1.6.28"
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@19735 10 HOST_ARCH="i486 arm"
al@19735 11
al@19735 12 TARBALL="libpng-$VERSION.tar.xz"
al@19735 13 WGET_URL="$SF_MIRROR/libpng/$TARBALL"
al@19735 14
al@19735 15 BUILD_DEPENDS="gawk zlib-dev"
al@19735 16 SPLIT="libpng16-dev"
al@19735 17
al@19735 18 # Rules to configure and make the package.
al@19735 19 compile_rules()
al@19735 20 {
al@19776 21 LIBS=-lpthread \
al@19781 22 ./configure $CONFIGURE_ARGS && make && make install &&
al@19776 23
al@19776 24 docdir=$install/usr/share/doc/libpng-$VERSION &&
al@19776 25 mkdir -p $docdir &&
al@19776 26 cp -v README libpng-manual.txt $docdir
al@19735 27
al@19735 28 # Misc png tools
al@19735 29 cd contrib/pngminus
al@19735 30 make PNGLIB="-L$DESTDIR/usr/lib -lpng" -f makefile.std png2pnm pnm2png
al@19735 31 cp -a png2pnm pnm2png $DESTDIR/usr/bin
al@19735 32 }
al@19735 33
al@19735 34 # Rules to gen a SliTaz package suitable for Tazpkg.
al@19735 35 genpkg_rules()
al@19735 36 {
al@19735 37 case $PACKAGE in
al@19735 38 libpng16)
al@19735 39 copy @std
al@19735 40 DEPENDS="zlib"
al@19735 41 PROVIDE="libpng"
al@19735 42 ;;
al@19735 43 libpng16-dev)
al@19735 44 copy @dev
pascal@19746 45 DEPENDS="zlib-dev pkg-config"
al@19735 46 PROVIDE="libpng-dev"
al@19735 47 ;;
al@19735 48 esac
al@19735 49 }