wok-current rev 18918
Add brotli
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 24 16:36:21 2016 +0100 (2016-02-24) |
parents | 75dbd88e19cd |
children | a69dc09d2757 |
files | brotli/receipt zopfli/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/brotli/receipt Wed Feb 24 16:36:21 2016 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="brotli" 1.7 +VERSION="0.3.0" 1.8 +CATEGORY="base-system" 1.9 +SHORT_DESC="A generic-purpose lossless compression algorithm." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="MIT" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://github.com/google/brotli" 1.14 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" 1.15 +TAGS="compression" 1.16 + 1.17 +DEPENDS="python" 1.18 +BUILD_DEPENDS="setuptools" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + python setup.py build && 1.24 + python setup.py install --root=$DESTDIR 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr/bin 1.31 + cp -a $install/usr $fs/ 1.32 + cp -a $src/python/bro.py $fs/usr/bin/bro 1.33 +}
2.1 --- a/zopfli/receipt Wed Feb 24 08:39:49 2016 -0300 2.2 +++ b/zopfli/receipt Wed Feb 24 16:36:21 2016 +0100 2.3 @@ -9,6 +9,7 @@ 2.4 TARBALL="$PACKAGE-$VERSION.tar.gz" 2.5 WEB_SITE="https://github.com/google/zopfli" 2.6 WGET_URL="$WEB_SITE/archive/$TARBALL" 2.7 +TAGS="compression" 2.8 2.9 DEPENDS="gcc-lib-base" 2.10