wok-next annotate zstd/receipt @ rev 20487
nareto: update config.ini.php path
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 10:58:05 2018 +0100 (2018-03-12) |
parents | 4396aed7eb01 |
children | d5aab818505e |
rev | line source |
---|---|
al@20464 | 1 # SliTaz package receipt v2. |
pascal@17541 | 2 |
pascal@17541 | 3 PACKAGE="zstd" |
al@20465 | 4 VERSION="1.3.3" |
pascal@17541 | 5 CATEGORY="base-system" |
al@20465 | 6 SHORT_DESC="Zstandard - Fast real-time compression algorithm" |
pascal@17541 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17541 | 8 LICENSE="BSD" |
al@20465 | 9 WEB_SITE="http://facebook.github.io/zstd/" |
al@20464 | 10 |
pascal@18336 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20465 | 12 WGET_URL="https://github.com/facebook/zstd/archive/v$VERSION.tar.gz" |
pascal@17541 | 13 |
al@20465 | 14 BUILD_DEPENDS="zlib-dev xz-dev lz4-dev" |
al@20464 | 15 SPLIT="zstd-dev" |
al@20464 | 16 |
al@20464 | 17 compile_rules() { |
al@20465 | 18 make -C lib PREFIX=/usr install && |
al@20465 | 19 make -C programs PREFIX=/usr install |
pascal@17541 | 20 } |
pascal@17541 | 21 |
al@20464 | 22 genpkg_rules() { |
al@20464 | 23 case $PACKAGE in |
al@20464 | 24 zstd) |
al@20464 | 25 copy @std |
al@20464 | 26 TAGS="compression" |
al@20464 | 27 ;; |
al@20464 | 28 *-dev) |
al@20464 | 29 copy @dev |
al@20464 | 30 ;; |
al@20464 | 31 esac |
pascal@17541 | 32 } |