wok-current annotate brotli/receipt @ rev 19074
Up slitaz-boot-scripts(429)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Apr 24 12:36:46 2016 +0300 (2016-04-24) |
parents | a69dc09d2757 |
children | 4ba626e0a6d2 |
rev | line source |
---|---|
pascal@18918 | 1 # SliTaz package receipt. |
pascal@18918 | 2 |
pascal@18918 | 3 PACKAGE="brotli" |
pascal@18918 | 4 VERSION="0.3.0" |
pascal@18918 | 5 CATEGORY="base-system" |
pascal@18918 | 6 SHORT_DESC="A generic-purpose lossless compression algorithm." |
pascal@18918 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18918 | 8 LICENSE="MIT" |
pascal@18918 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18918 | 10 WEB_SITE="https://github.com/google/brotli" |
pascal@18918 | 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@18918 | 12 TAGS="compression" |
pascal@18918 | 13 |
pascal@18920 | 14 DEPENDS="gcc-lib-base" |
pascal@18919 | 15 BUILD_DEPENDS="python-dev setuptools" |
pascal@18918 | 16 |
pascal@18918 | 17 # Rules to configure and make the package. |
pascal@18918 | 18 compile_rules() |
pascal@18918 | 19 { |
pascal@18918 | 20 python setup.py build && |
pascal@18918 | 21 python setup.py install --root=$DESTDIR |
pascal@18920 | 22 sed -i 's/ -std=c++11//' shared.mk |
pascal@18920 | 23 cd tools |
pascal@18920 | 24 make |
pascal@18918 | 25 } |
pascal@18918 | 26 |
pascal@18918 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18918 | 28 genpkg_rules() |
pascal@18918 | 29 { |
pascal@18918 | 30 mkdir -p $fs/usr/bin |
pascal@18920 | 31 cp -a $src/tools/bro $fs/usr/bin/ |
pascal@18918 | 32 } |