wok-current view brotli/receipt @ rev 25751

Up openssh 9.9p2 (CVE-2025-26465, CVE-2025-26466)
author Stanislas Leduc <shann@slitaz.org>
date Wed Feb 19 15:31:28 2025 +0000 (3 days ago)
parents 3ad63c8fc2f9
children
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 HOST_ARCH="i486 x86_64"
16 DEPENDS="gcc-lib-base"
17 BUILD_DEPENDS="python-dev python-setuptools cmake"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 mkdir build && cd build
29 cmake \
30 -DCMAKE_BUILD_TYPE=Release \
31 -DCMAKE_INSTALL_PREFIX=/usr \
32 .. &&
33 make && make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/bin $fs/usr/lib
40 cp -a $install/usr/bin/brotli $fs/usr/bin/
41 ln -s brotli $fs/usr/bin/bro
42 cp -a $install/usr/lib*/*.so* $fs/usr/lib
43 }