wok-next annotate brotli/receipt @ rev 20902
brotli: up (1.0.5); compton: re-version (0.1_beta2+87 -> 20170907); cookutils: up (1087); curl: up (7.61.0); file: up (5.33); gnutls: up (3.5.19); gvfs: up (1.36.2); meson: up (0.47.1); webkit2gtk: update bdeps; add libgdata and uhttpmock
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Jul 28 15:39:37 2018 +0300 (2018-07-28) |
parents | 9a5b17ddcfcb |
children | 49a10d2a7814 |
rev | line source |
---|---|
al@19737 | 1 # SliTaz package receipt v2. |
pascal@18918 | 2 |
pascal@18918 | 3 PACKAGE="brotli" |
al@20902 | 4 VERSION="1.0.5" |
pascal@18918 | 5 CATEGORY="base-system" |
al@19737 | 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 WEB_SITE="https://github.com/google/brotli" |
pascal@18918 | 10 TAGS="compression" |
pascal@18918 | 11 |
al@19737 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20902 | 13 WGET_URL="https://github.com/google/brotli/archive/v$VERSION.tar.gz" |
al@19737 | 14 |
al@19737 | 15 BUILD_DEPENDS="cmake" |
al@19737 | 16 SPLIT="brotli-dev" |
pascal@18918 | 17 |
al@20902 | 18 compile_rules() { |
al@20902 | 19 mkdir build |
al@20902 | 20 cd build |
al@20902 | 21 cmake \ |
al@20902 | 22 -DCMAKE_BUILD_TYPE=Release \ |
al@20902 | 23 -DCMAKE_INSTALL_PREFIX=/usr \ |
al@20902 | 24 .. && |
al@19737 | 25 make && |
al@20902 | 26 make install || return 1 |
al@19737 | 27 |
al@20902 | 28 cook_pick_docs $src/docs/*.pdf |
al@20902 | 29 cook_pick_manpages $src/docs/*.1 $src/docs/*.3 |
pascal@18918 | 30 } |
pascal@18918 | 31 |
al@20902 | 32 genpkg_rules() { |
al@19737 | 33 case $PACKAGE in |
al@20902 | 34 brotli) copy @std;; |
al@20902 | 35 brotli-dev) copy @dev;; |
al@19737 | 36 esac |
pascal@18918 | 37 } |