wok-current annotate zopfli/receipt @ rev 22457
freedoom: update 0.7 -> 0.8
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Thu Dec 26 11:35:56 2019 +0000 (2019-12-26) |
parents | 016645bf030d |
children | 4e55d27fb074 |
rev | line source |
---|---|
pascal@18916 | 1 # SliTaz package receipt. |
pascal@18916 | 2 |
pascal@18916 | 3 PACKAGE="zopfli" |
pascal@20339 | 4 VERSION="1.0.2" |
pascal@18916 | 5 CATEGORY="base-system" |
pascal@18916 | 6 SHORT_DESC="A good, but slow, deflate or zlib compressor." |
pascal@18916 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18916 | 8 LICENSE="Apache" |
pascal@18916 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18916 | 10 WEB_SITE="https://github.com/google/zopfli" |
pascal@18916 | 11 WGET_URL="$WEB_SITE/archive/$TARBALL" |
pascal@18918 | 12 TAGS="compression" |
pascal@18916 | 13 |
pascal@22396 | 14 DEPENDS="gcc83-lib-base" |
pascal@22396 | 15 BUILD_DEPENDS="gcc83" |
pascal@18916 | 16 |
pascal@18916 | 17 # Rules to configure and make the package. |
pascal@18916 | 18 compile_rules() |
pascal@18916 | 19 { |
pascal@22396 | 20 make CC=gcc-83 CXX=g++-83 zopflipng zopfli libzopfli |
pascal@18916 | 21 } |
pascal@18916 | 22 |
pascal@18916 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18916 | 24 genpkg_rules() |
pascal@18916 | 25 { |
pascal@20340 | 26 mkdir -p $fs/usr/bin $install/usr/share/doc |
pascal@18916 | 27 cp -a $src/zopfli $fs/usr/bin |
pascal@18916 | 28 cp -a $src/zopflipng $fs/usr/bin |
pascal@20340 | 29 cp $src/README* $install/usr/share/doc |
pascal@18916 | 30 } |