wok view zopfli/receipt @ rev 25586
Add python3
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Jun 04 12:36:08 2023 +0200 (17 months ago) |
parents | 4e55d27fb074 |
children | 0262035dc1e7 |
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 }