wok-next diff lzham/receipt @ rev 21602
updated dstat (0.7.3 -> 0.7.4)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jun 24 15:19:05 2020 +0100 (2020-06-24) |
parents | |
children |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/lzham/receipt Wed Jun 24 15:19:05 2020 +0100 1.3 @@ -0,0 +1,47 @@ 1.4 +# SliTaz package receipt v2. 1.5 + 1.6 +PACKAGE="lzham" 1.7 +VERSION="1.0.1" 1.8 +CATEGORY="base-system" 1.9 +SHORT_DESC="Lossless data compression codec with LZMA-like ratios but 1.5x-8x \ 1.10 +faster decompression speed" 1.11 +MAINTAINER="pascal.bellard@slitaz.org" 1.12 +LICENSE="MIT" 1.13 +WEB_SITE="https://github.com/richgel999/lzham_codec" 1.14 + 1.15 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.16 +WGET_URL="$GITHUB/richgel999/lzham_codec/tarball/v1_0_stable1" 1.17 + 1.18 +BUILD_DEPENDS="cmake libunistring" 1.19 +SPLIT="$PACKAGE-dev" 1.20 + 1.21 +compile_rules() { 1.22 + case $ARCH in 1.23 + i?86) ARCH_ARGS='-DBUILD_X64=OFF';; 1.24 + x86_64) ARCH_ARGS='';; 1.25 + esac 1.26 + 1.27 + mkdir build 1.28 + cd build 1.29 + cmake \ 1.30 + -DCMAKE_BUILD_TYPE=Release \ 1.31 + -DCMAKE_INSTALL_PREFIX=/usr \ 1.32 + $ARCH_ARGS \ 1.33 + .. && 1.34 + make && 1.35 + make install || return 1 1.36 + 1.37 + install -Dm755 lzhamtest/lzhamtest $install/usr/bin/lzhamtest 1.38 +} 1.39 + 1.40 +genpkg_rules() { 1.41 + case $PACKAGE in 1.42 + *-dev) 1.43 + copy @dev 1.44 + ;; 1.45 + *) 1.46 + copy @std 1.47 + TAGS="compression" 1.48 + ;; 1.49 + esac 1.50 +}