wok-current rev 18920

Add brotli (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 24 17:34:26 2016 +0100 (2016-02-24)
parents a69dc09d2757
children 0b07c031c9db
files brotli/receipt
line diff
     1.1 --- a/brotli/receipt	Wed Feb 24 16:56:01 2016 +0100
     1.2 +++ b/brotli/receipt	Wed Feb 24 17:34:26 2016 +0100
     1.3 @@ -11,7 +11,7 @@
     1.4  WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
     1.5  TAGS="compression"
     1.6  
     1.7 -DEPENDS="python"
     1.8 +DEPENDS="gcc-lib-base"
     1.9  BUILD_DEPENDS="python-dev setuptools"
    1.10  
    1.11  # Rules to configure and make the package.
    1.12 @@ -19,12 +19,14 @@
    1.13  {
    1.14  	python setup.py build &&
    1.15  	python setup.py install --root=$DESTDIR
    1.16 +	sed -i 's/ -std=c++11//' shared.mk
    1.17 +	cd tools
    1.18 +	make
    1.19  }
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24  	mkdir -p $fs/usr/bin
    1.25 -	cp -a $install/usr $fs/
    1.26 -	cp -a $src/python/bro.py $fs/usr/bin/bro
    1.27 +	cp -a $src/tools/bro $fs/usr/bin/
    1.28  }