wok-next view brotli/receipt @ rev 20736

netatalk-dev: update depends
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 29 20:07:48 2018 +0300 (2018-05-29)
parents 80800de950ff
children d3707642a563
line source
1 # SliTaz package receipt v2.
3 PACKAGE="brotli"
4 VERSION="0.6.0"
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="$WEB_SITE/archive/v$VERSION.tar.gz"
15 BUILD_DEPENDS="cmake"
16 SPLIT="brotli-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir build && cd build &&
22 cmake .. -DCMAKE_INSTALL_PREFIX=/usr &&
23 make &&
24 make install
26 cd $src/docs
27 docdir=$install/usr/share/doc/brotli-$VERSION
28 mkdir -p $docdir
29 cp ./*.pdf $docdir
30 cook_pick_manpages decode.h.3 encode.h.3 types.h.3
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 case $PACKAGE in
37 brotli) copy @std ;;
38 brotli-dev) copy @dev ;;
39 esac
40 }