wok view libpng+apng/receipt @ rev 19234
httpfs-fuse-static: add fusermount (static)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 25 13:38:04 2016 +0200 (2016-06-25) |
parents | 16dd2a014428 |
children | d1ab69441168 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libpng+apng"
4 PROVIDE="libpng"
5 SOURCE="libpng"
6 VERSION="1.6.2"
7 SERIES="libpng16"
8 CATEGORY="x-window"
9 SHORT_DESC="Loads and saves PNG files (with APNG support)"
10 MAINTAINER="al.bobylev@gmail.com"
11 LICENSE="zlib/libpng"
12 WEB_SITE="http://www.libpng.org/pub/png/libpng.html"
13 TARBALL="$SOURCE-$VERSION.tar.xz"
14 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
15 HOST_ARCH="i486 arm"
17 PATCH="$SOURCE-$VERSION-apng.patch.gz"
18 PATCH_URL="$SF_MIRROR/apng/$SOURCE/$SERIES/$PATCH"
20 DEPENDS="zlib"
21 BUILD_DEPENDS="gawk zlib-dev"
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 [ -s "$SRC/$PATCH" ] || wget -O "$SRC/$PATCH" $PATCH_URL
27 gzip -cd $SRC/$PATCH | patch -p0
28 ./configure \
29 --prefix=/usr \
30 --disable-static \
31 $CONFIGURE_ARGS &&
32 make &&
33 case "$ARCH" in
34 arm*)
35 make DESTDIR=$DESTDIR install ;;
36 *)
37 make check | tr [A-Z] [a-z] &&
38 make DESTDIR=$DESTDIR install ;;
39 esac
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 }