wok annotate zopfli/receipt @ rev 20304
sshx: add port support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 05 17:00:11 2018 +0200 (2018-05-05) |
parents | 61d4823a06dd |
children | 015bb88f0516 |
rev | line source |
---|---|
pascal@18916 | 1 # SliTaz package receipt. |
pascal@18916 | 2 |
pascal@18916 | 3 PACKAGE="zopfli" |
pascal@18916 | 4 VERSION="1.0.1" |
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@18916 | 14 DEPENDS="gcc-lib-base" |
pascal@18916 | 15 |
pascal@18916 | 16 # Rules to configure and make the package. |
pascal@18916 | 17 compile_rules() |
pascal@18916 | 18 { |
pascal@18916 | 19 make zopflipng zopfli libzopfli |
pascal@18916 | 20 } |
pascal@18916 | 21 |
pascal@18916 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18916 | 23 genpkg_rules() |
pascal@18916 | 24 { |
pascal@18916 | 25 mkdir -p $fs/usr/bin |
pascal@18916 | 26 cp -a $src/zopfli $fs/usr/bin |
pascal@18916 | 27 cp -a $src/zopflipng $fs/usr/bin |
pascal@18916 | 28 } |