wok view zopfli/receipt @ rev 20340

zopfli: build with gcc63
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jun 05 21:00:53 2018 +0200 (2018-06-05)
parents 015bb88f0516
children 3fe0ed7c1aac
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="gcc63-lib-base"
15 BUILD_DEPENDS="gcc63"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 make CC=gcc-63 CXX=g++-63 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 }