wok view brotli/receipt @ rev 19192

syslinux: no i18n menu with custom config
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jun 05 16:28:03 2016 +0200 (2016-06-05)
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 }