wok-6.x annotate brotli/receipt @ rev 21367
updated litmus (0.12.1 -> 0.13)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 21 17:10:28 2019 +0100 (2019-04-21) |
parents | 543e0fa614bc |
children | 240fb3120638 |
rev | line source |
---|---|
pascal@18918 | 1 # SliTaz package receipt. |
pascal@18918 | 2 |
pascal@18918 | 3 PACKAGE="brotli" |
pascal@20527 | 4 VERSION="1.0.7" |
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@19397 | 15 BUILD_DEPENDS="python-dev setuptools cmake" |
pascal@18918 | 16 |
pascal@18918 | 17 # Rules to configure and make the package. |
pascal@18918 | 18 compile_rules() |
pascal@18918 | 19 { |
pascal@19397 | 20 cmake . |
pascal@20181 | 21 make |
pascal@18918 | 22 } |
pascal@18918 | 23 |
pascal@18918 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18918 | 25 genpkg_rules() |
pascal@18918 | 26 { |
pascal@19931 | 27 mkdir -p $fs/usr/bin $fs/usr/lib |
pascal@20181 | 28 cp -a $src/brotli $fs/usr/bin/ |
pascal@20181 | 29 ln -s brotli $fs/usr/bin/bro |
pascal@19931 | 30 cp -a $src/*.so* $fs/usr/lib |
pascal@18918 | 31 } |