wok-6.x annotate zopfli/receipt @ rev 22257
updated xorg-xextproto (7.2.1 -> 7.3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Nov 12 17:24:30 2019 +0100 (2019-11-12) |
parents | 015bb88f0516 |
children | 3fe0ed7c1aac |
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@20340 | 14 DEPENDS="gcc63-lib-base" |
pascal@20340 | 15 BUILD_DEPENDS="gcc63" |
pascal@18916 | 16 |
pascal@18916 | 17 # Rules to configure and make the package. |
pascal@18916 | 18 compile_rules() |
pascal@18916 | 19 { |
pascal@20340 | 20 make CC=gcc-63 CXX=g++-63 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 } |