wok-current view zopfli/receipt @ rev 24988
Fix perl-gd & tcptrack
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 12 11:01:25 2022 +0000 (2022-05-12) |
parents | 4e55d27fb074 |
children |
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 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/zopfli-\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make CC=gcc-83 CXX=g++-83 zopflipng zopfli libzopfli
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 mkdir -p $install/usr/share/doc
36 cp -a $src/zopfli $fs/usr/bin
37 cp -a $src/zopflipng $fs/usr/bin
38 cp $src/README* $install/usr/share/doc
39 }