wok view brotli/receipt @ rev 24207

updated perl-file-basedir (0.03 -> 0.09)
author Hans-G?nter Theisgen
date Fri Dec 31 15:40:31 2021 +0100 (2021-12-31)
parents 5ea0ce1cecc0
children 343c093ad221
line source
1 # SliTaz package receipt.
3 PACKAGE="brotli"
4 VERSION="1.0.9"
5 CATEGORY="base-system"
6 SHORT_DESC="A generic-purpose lossless compression algorithm."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/google/brotli"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
12 TAGS="compression"
14 DEPENDS="gcc-lib-base"
15 BUILD_DEPENDS="python-dev python-setuptools cmake"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cmake .
27 make
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin $fs/usr/lib
34 cp -a $src/brotli $fs/usr/bin/
35 ln -s brotli $fs/usr/bin/bro
36 cp -a $src/*.so* $fs/usr/lib
37 }