wok-next view libpng12/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | d43bf7aae921 |
children | df20b2110f7e |
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"
11 TARBALL="libpng-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/libpng/$TARBALL"
14 PATCH="libpng-$VERSION-apng.patch.gz"
15 PATCH_URL="$SF_MIRROR/apng/$PATCH"
17 BUILD_DEPENDS="gawk zlib-dev"
18 SPLIT="libpng12-dev"
20 compile_rules() {
21 [ -s "$SRC/$PATCH" ] || wget -O "$SRC/$PATCH" $PATCH_URL
22 gzip -cd $SRC/$PATCH | patch -p0
24 ./configure \
25 --disable-static \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 make &&
29 make install
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 libpng12)
35 copy @std
36 DEPENDS="zlib"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="zlib-dev"
41 ;;
42 esac
43 }