wok-next diff zopfli/receipt @ rev 20616
xrdp: up 0.9.3.1; zopfli: fix build; gcc61: attempt to fix; add gcc6 (latest among 6.x.x).
gcc61 and gcc6 are broken now.
gcc61 and gcc6 are broken now.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 21 05:15:11 2018 +0300 (2018-04-21) |
parents | ae74a8e184b5 |
children | d6f8429b8cc3 |
line diff
1.1 --- a/zopfli/receipt Wed Feb 24 16:36:21 2016 +0100 1.2 +++ b/zopfli/receipt Sat Apr 21 05:15:11 2018 +0300 1.3 @@ -1,28 +1,27 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="zopfli" 1.8 VERSION="1.0.1" 1.9 CATEGORY="base-system" 1.10 -SHORT_DESC="A good, but slow, deflate or zlib compressor." 1.11 +SHORT_DESC="A good, but slow, deflate or zlib compressor" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="Apache" 1.14 +WEB_SITE="https://github.com/google/zopfli" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="https://github.com/google/zopfli" 1.18 WGET_URL="$WEB_SITE/archive/$TARBALL" 1.19 -TAGS="compression" 1.20 1.21 -DEPENDS="gcc-lib-base" 1.22 +compile_rules() { 1.23 + make zopfli 1.24 + make zopflipng 1.25 +# make libzopfli 1.26 +# make libzopflipng 1.27 1.28 -# Rules to configure and make the package. 1.29 -compile_rules() 1.30 -{ 1.31 - make zopflipng zopfli libzopfli 1.32 + install -Dm755 zopfli $install/usr/bin/zopfli 1.33 + install -Dm755 zopflipng $install/usr/bin/zopflipng 1.34 } 1.35 1.36 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.37 -genpkg_rules() 1.38 -{ 1.39 - mkdir -p $fs/usr/bin 1.40 - cp -a $src/zopfli $fs/usr/bin 1.41 - cp -a $src/zopflipng $fs/usr/bin 1.42 +genpkg_rules() { 1.43 + copy @std 1.44 + TAGS="compression" 1.45 }