wok-next rev 18916
Add zopfli
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 24 11:30:44 2016 +0100 (2016-02-24) |
parents | 4db4fa9985ae |
children | 75dbd88e19cd |
files | zopfli/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/zopfli/receipt Wed Feb 24 11:30:44 2016 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="zopfli" 1.7 +VERSION="1.0.1" 1.8 +CATEGORY="base-system" 1.9 +SHORT_DESC="A good, but slow, deflate or zlib compressor." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="Apache" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://github.com/google/zopfli" 1.14 +WGET_URL="$WEB_SITE/archive/$TARBALL" 1.15 + 1.16 +DEPENDS="gcc-lib-base" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + make zopflipng zopfli libzopfli 1.22 +} 1.23 + 1.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 +genpkg_rules() 1.26 +{ 1.27 + mkdir -p $fs/usr/bin 1.28 + cp -a $src/zopfli $fs/usr/bin 1.29 + cp -a $src/zopflipng $fs/usr/bin 1.30 +}