wok view lzham_codec/receipt @ rev 24170
updated otf-gfs
author | Hans-G?nter Theisgen |
---|---|
date | Wed Dec 29 07:55:54 2021 +0100 (2021-12-29) |
parents | df7ee1e0dc61 |
children | ac8ca9758df1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lzham_codec"
4 VERSION="1_0_stable1"
5 CATEGORY="base-system"
6 SHORT_DESC="Lossless data compression codec with LZMA-like ratios but 1.5x-8x faster decompression speed."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/richgel999/lzham_codec"
11 WGET_URL="$WEB_SITE/archive/v${VERSION/./_}.tar.gz"
12 TAGS="compression"
14 DEPENDS="gcc-lib-base"
15 BUILD_DEPENDS="wget cmake"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 cmake . -DBUILD_X64=OFF -DCMAKE_BUILD_TYPE=Release && make
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/bin
33 cp -a $src/bin_linux/lzhamtest $fs/usr/bin
34 }