wok-next view brotli/receipt @ rev 20939

Fix brisk-menu, mate-backgrounds, mate-user-guide
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Aug 26 09:13:55 2018 +0300 (2018-08-26)
parents 9a5b17ddcfcb
children 49a10d2a7814
line source
1 # SliTaz package receipt v2.
3 PACKAGE="brotli"
4 VERSION="1.0.5"
5 CATEGORY="base-system"
6 SHORT_DESC="A generic-purpose lossless compression algorithm"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/google/brotli"
10 TAGS="compression"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/google/brotli/archive/v$VERSION.tar.gz"
15 BUILD_DEPENDS="cmake"
16 SPLIT="brotli-dev"
18 compile_rules() {
19 mkdir build
20 cd build
21 cmake \
22 -DCMAKE_BUILD_TYPE=Release \
23 -DCMAKE_INSTALL_PREFIX=/usr \
24 .. &&
25 make &&
26 make install || return 1
28 cook_pick_docs $src/docs/*.pdf
29 cook_pick_manpages $src/docs/*.1 $src/docs/*.3
30 }
32 genpkg_rules() {
33 case $PACKAGE in
34 brotli) copy @std;;
35 brotli-dev) copy @dev;;
36 esac
37 }