wok view brotli/receipt @ rev 19302
Up mutt (1.6.1)
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Jul 09 20:35:00 2016 +0100 (2016-07-09) |
parents | a69dc09d2757 |
children | 4ba626e0a6d2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="brotli"
4 VERSION="0.3.0"
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"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 python setup.py build &&
21 python setup.py install --root=$DESTDIR
22 sed -i 's/ -std=c++11//' shared.mk
23 cd tools
24 make
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $src/tools/bro $fs/usr/bin/
32 }