wok-next view libpng12/receipt @ rev 20906

Update homepages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Aug 10 12:53:17 2018 +0300 (2018-08-10)
parents 5841522533ec
children d5aab818505e
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libpng12"
4 VERSION="1.2.57"
5 CATEGORY="libs"
6 SHORT_DESC="PNG images library 1.2 series with APNG support"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="zlib/libpng"
9 WEB_SITE="http://www.libpng.org/pub/png/libpng.html"
10 REPOLOGY="libpng"
12 TARBALL="libpng-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/libpng/$TARBALL"
15 PATCH="libpng-$VERSION-apng.patch.gz"
16 PATCH_URL="$SF_MIRROR/apng/$PATCH"
18 BUILD_DEPENDS="gawk zlib-dev"
19 SPLIT="libpng12-dev"
21 compile_rules() {
22 [ -s "$SRC/$PATCH" ] || wget -O "$SRC/$PATCH" $PATCH_URL
23 gzip -cd $SRC/$PATCH | patch -p0
25 ./configure \
26 --disable-static \
27 $CONFIGURE_ARGS &&
28 fix libtool &&
29 make &&
30 make install
31 }
33 genpkg_rules() {
34 case $PACKAGE in
35 libpng12)
36 copy @std
37 DEPENDS="zlib"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="zlib-dev"
42 ;;
43 esac
44 }