wok-next annotate brotli/receipt @ rev 19995
qtwebkit: rm gstreamer
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Fri Oct 20 15:57:38 2017 +0200 (2017-10-20) |
parents | 80800de950ff |
children | d3707642a563 |
rev | line source |
---|---|
al@19737 | 1 # SliTaz package receipt v2. |
pascal@18918 | 2 |
pascal@18918 | 3 PACKAGE="brotli" |
al@19737 | 4 VERSION="0.6.0" |
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@19737 | 13 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
al@19737 | 14 |
al@19737 | 15 BUILD_DEPENDS="cmake" |
al@19737 | 16 SPLIT="brotli-dev" |
pascal@18918 | 17 |
pascal@18918 | 18 # Rules to configure and make the package. |
pascal@18918 | 19 compile_rules() |
pascal@18918 | 20 { |
al@19737 | 21 mkdir build && cd build && |
al@19737 | 22 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && |
al@19737 | 23 make && |
al@19737 | 24 make install |
al@19737 | 25 |
al@19737 | 26 cd $src/docs |
al@19737 | 27 docdir=$install/usr/share/doc/brotli-$VERSION |
al@19737 | 28 mkdir -p $docdir |
al@19737 | 29 cp ./*.pdf $docdir |
al@19737 | 30 cook_pick_manpages decode.h.3 encode.h.3 types.h.3 |
pascal@18918 | 31 } |
pascal@18918 | 32 |
pascal@18918 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18918 | 34 genpkg_rules() |
pascal@18918 | 35 { |
al@19737 | 36 case $PACKAGE in |
al@19737 | 37 brotli) copy @std ;; |
al@19737 | 38 brotli-dev) copy @dev ;; |
al@19737 | 39 esac |
pascal@18918 | 40 } |