wok-next annotate libpng12/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | df20b2110f7e |
children |
rev | line source |
---|---|
al@19735 | 1 # SliTaz package receipt v2. |
al@19641 | 2 |
al@19641 | 3 PACKAGE="libpng12" |
al@19641 | 4 VERSION="1.2.57" |
al@19641 | 5 CATEGORY="libs" |
al@19735 | 6 SHORT_DESC="PNG images library 1.2 series with APNG support" |
al@19641 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19641 | 8 LICENSE="zlib/libpng" |
al@19641 | 9 WEB_SITE="http://www.libpng.org/pub/png/libpng.html" |
al@20883 | 10 REPOLOGY="libpng" |
al@19641 | 11 |
al@20472 | 12 TARBALL="libpng-$VERSION.tar.gz" |
al@19641 | 13 WGET_URL="$SF_MIRROR/libpng/$TARBALL" |
al@19641 | 14 |
al@19641 | 15 PATCH="libpng-$VERSION-apng.patch.gz" |
al@19641 | 16 PATCH_URL="$SF_MIRROR/apng/$PATCH" |
al@19641 | 17 |
al@19641 | 18 BUILD_DEPENDS="gawk zlib-dev" |
al@21020 | 19 SPLIT="$PACKAGE-dev" |
al@19641 | 20 |
al@20595 | 21 compile_rules() { |
al@19641 | 22 [ -s "$SRC/$PATCH" ] || wget -O "$SRC/$PATCH" $PATCH_URL |
al@19641 | 23 gzip -cd $SRC/$PATCH | patch -p0 |
al@19641 | 24 |
al@19641 | 25 ./configure \ |
al@19641 | 26 --disable-static \ |
al@19641 | 27 $CONFIGURE_ARGS && |
al@20595 | 28 fix libtool && |
al@20595 | 29 make && |
al@20595 | 30 make install |
al@19641 | 31 } |
al@19641 | 32 |
al@20595 | 33 genpkg_rules() { |
al@19735 | 34 case $PACKAGE in |
al@19735 | 35 libpng12) |
al@19735 | 36 copy @std |
al@19735 | 37 DEPENDS="zlib" |
al@19735 | 38 ;; |
al@20595 | 39 *-dev) |
al@19735 | 40 copy @dev |
al@20513 | 41 DEPENDS="zlib-dev" |
al@19735 | 42 ;; |
al@19735 | 43 esac |
al@19641 | 44 } |