wok view zopfli/receipt @ rev 22876

web-applications: localize wikipedia
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Feb 21 18:28:59 2020 +0100 (2020-02-21)
parents 016645bf030d
children 4e55d27fb074
line source
1 # SliTaz package receipt.
3 PACKAGE="zopfli"
4 VERSION="1.0.2"
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"
12 TAGS="compression"
14 DEPENDS="gcc83-lib-base"
15 BUILD_DEPENDS="gcc83"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 make CC=gcc-83 CXX=g++-83 zopflipng zopfli libzopfli
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin $install/usr/share/doc
27 cp -a $src/zopfli $fs/usr/bin
28 cp -a $src/zopflipng $fs/usr/bin
29 cp $src/README* $install/usr/share/doc
30 }