wok diff libpng+apng/receipt @ rev 14737
Add: gif2apng, apng2gif, apngasm, apngdis, apngopt, libpng+apng (latest stable libpng 1.6.2); up: optipng (0.7.4).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jun 14 03:16:29 2013 +0000 (2013-06-14) |
parents | |
children | 16dd2a014428 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libpng+apng/receipt Fri Jun 14 03:16:29 2013 +0000 1.3 @@ -0,0 +1,41 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="libpng+apng" 1.7 +PROVIDE="libpng" 1.8 +SOURCE="libpng" 1.9 +VERSION="1.6.2" 1.10 +SERIES="libpng16" 1.11 +CATEGORY="x-window" 1.12 +SHORT_DESC="Loads and saves PNG files (with APNG support)" 1.13 +MAINTAINER="al.bobylev@gmail.com" 1.14 +LICENSE="zlib/libpng" 1.15 +WEB_SITE="http://www.libpng.org/pub/png/libpng.html" 1.16 +TARBALL="$SOURCE-$VERSION.tar.xz" 1.17 +WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL" 1.18 + 1.19 +PATCH="$SOURCE-$VERSION-apng.patch.gz" 1.20 +PATCH_URL="$SF_MIRROR/apng/$SOURCE/$SERIES/$PATCH" 1.21 + 1.22 +DEPENDS="zlib" 1.23 +BUILD_DEPENDS="gawk zlib-dev" 1.24 + 1.25 +# Rules to configure and make the package. 1.26 +compile_rules() 1.27 +{ 1.28 + [ -s "$SRC/$PATCH" ] || wget -O "$SRC/$PATCH" $PATCH_URL 1.29 + gzip -cd $SRC/$PATCH | patch -p0 1.30 + ./configure \ 1.31 + --prefix=/usr \ 1.32 + --disable-static \ 1.33 + $CONFIGURE_ARGS && 1.34 + make && 1.35 + make check && 1.36 + make DESTDIR=$DESTDIR install 1.37 +} 1.38 + 1.39 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.40 +genpkg_rules() 1.41 +{ 1.42 + mkdir -p $fs/usr/lib 1.43 + cp -a $install/usr/lib/*.so* $fs/usr/lib 1.44 +}