wok-6.x view brotli/receipt @ rev 18918

Add brotli
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 24 16:36:21 2016 +0100 (2016-02-24)
parents
children a69dc09d2757
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="python"
15 BUILD_DEPENDS="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 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $install/usr $fs/
29 cp -a $src/python/bro.py $fs/usr/bin/bro
30 }