wok view brotli/receipt @ rev 20520
Up sshguard (2.2.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 05 11:52:27 2018 +0100 (2018-11-05) |
parents | 8b25fb7e14d8 |
children | 17c0ad41f5bf |
line source
1 # SliTaz package receipt.
3 PACKAGE="brotli"
4 VERSION="1.0.5"
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 setuptools cmake"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cmake .
21 make
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin $fs/usr/lib
28 cp -a $src/brotli $fs/usr/bin/
29 ln -s brotli $fs/usr/bin/bro
30 cp -a $src/*.so* $fs/usr/lib
31 }