wok-6.x view zopfli/receipt @ rev 23878
ipxe: remove mirror.switch.ch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jul 03 08:45:11 2020 +0000 (2020-07-03) |
parents | 3fe0ed7c1aac |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="zopfli"
4 VERSION="1.0.3"
5 CATEGORY="base-system"
6 TAGS="compression"
7 SHORT_DESC="A good, but slow, deflate or zlib compressor."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="Apache"
10 WEB_SITE="https://github.com/google/zopfli"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$WEB_SITE/archive/$TARBALL"
15 DEPENDS="gcc83-lib-base"
16 BUILD_DEPENDS="gcc83"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 make CC=gcc-83 CXX=g++-83 zopflipng zopfli libzopfli
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 mkdir -p $install/usr/share/doc
30 cp -a $src/zopfli $fs/usr/bin
31 cp -a $src/zopflipng $fs/usr/bin
32 cp $src/README* $install/usr/share/doc
33 }