wok-next view zopfli/receipt @ rev 18916

Add zopfli
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 24 11:30:44 2016 +0100 (2016-02-24)
parents
children ae74a8e184b5
line source
1 # SliTaz package receipt.
3 PACKAGE="zopfli"
4 VERSION="1.0.1"
5 CATEGORY="base-system"
6 SHORT_DESC="A good, but slow, deflate or zlib compressor."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="Apache"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/google/zopfli"
11 WGET_URL="$WEB_SITE/archive/$TARBALL"
13 DEPENDS="gcc-lib-base"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 make zopflipng zopfli libzopfli
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/bin
25 cp -a $src/zopfli $fs/usr/bin
26 cp -a $src/zopflipng $fs/usr/bin
27 }