wok-next view libpng12/receipt @ rev 19722
Up net-snmp (5.7.3)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed May 24 18:42:05 2017 +0200 (2017-05-24) |
parents | |
children | 4550df96633d |
line source
1 # SliTaz package receipt.
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 HOST_ARCH="i486 arm"
12 TARBALL="libpng-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/libpng/$TARBALL"
15 PATCH="libpng-$VERSION-apng.patch.gz"
16 PATCH_URL="$SF_MIRROR/apng/$PATCH"
18 DEPENDS="zlib"
19 BUILD_DEPENDS="gawk zlib-dev"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 [ -s "$SRC/$PATCH" ] || wget -O "$SRC/$PATCH" $PATCH_URL
25 gzip -cd $SRC/$PATCH | patch -p0
27 ./configure \
28 --disable-static \
29 $CONFIGURE_ARGS &&
30 make && make install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 cook_copy_files *.so*
37 }