wok-next view libpng12/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | df20b2110f7e |
children |
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="$PACKAGE-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 }