wok diff brotli/receipt @ rev 19397

Up brotli (0.5.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 02 13:32:28 2016 +0200 (2016-09-02)
parents 1e67754f6cdd
children 80800de950ff
line diff
     1.1 --- a/brotli/receipt	Wed Feb 24 17:34:26 2016 +0100
     1.2 +++ b/brotli/receipt	Fri Sep 02 13:32:28 2016 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="brotli"
     1.7 -VERSION="0.3.0"
     1.8 +VERSION="0.5.2"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="A generic-purpose lossless compression algorithm."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -12,21 +12,18 @@
    1.13  TAGS="compression"
    1.14  
    1.15  DEPENDS="gcc-lib-base"
    1.16 -BUILD_DEPENDS="python-dev setuptools"
    1.17 +BUILD_DEPENDS="python-dev setuptools cmake"
    1.18  
    1.19  # Rules to configure and make the package.
    1.20  compile_rules()
    1.21  {
    1.22 -	python setup.py build &&
    1.23 -	python setup.py install --root=$DESTDIR
    1.24 -	sed -i 's/ -std=c++11//' shared.mk
    1.25 -	cd tools
    1.26 -	make
    1.27 +	cmake .
    1.28 +	make bro
    1.29  }
    1.30  
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.32  genpkg_rules()
    1.33  {
    1.34  	mkdir -p $fs/usr/bin
    1.35 -	cp -a $src/tools/bro $fs/usr/bin/
    1.36 +	cp -a $src/bin/bro $fs/usr/bin/
    1.37  }