wok 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 f6c50159e230
files zopfli/receipt
line diff
     1.1 --- a/zopfli/receipt	Tue Jun 05 20:33:30 2018 +0200
     1.2 +++ b/zopfli/receipt	Tue Jun 05 21:00:53 2018 +0200
     1.3 @@ -11,18 +11,20 @@
     1.4  WGET_URL="$WEB_SITE/archive/$TARBALL"
     1.5  TAGS="compression"
     1.6  
     1.7 -DEPENDS="gcc-lib-base"
     1.8 +DEPENDS="gcc63-lib-base"
     1.9 +BUILD_DEPENDS="gcc63"
    1.10  
    1.11  # Rules to configure and make the package.
    1.12  compile_rules()
    1.13  {
    1.14 -	make zopflipng zopfli libzopfli
    1.15 +	make CC=gcc-63 CXX=g++-63 zopflipng zopfli libzopfli
    1.16  }
    1.17  
    1.18  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.19  genpkg_rules()
    1.20  {
    1.21 -	mkdir -p $fs/usr/bin
    1.22 +	mkdir -p $fs/usr/bin $install/usr/share/doc
    1.23  	cp -a $src/zopfli $fs/usr/bin
    1.24  	cp -a $src/zopflipng $fs/usr/bin
    1.25 +	cp $src/README* $install/usr/share/doc
    1.26  }