wok annotate lzham_codec/receipt @ rev 25044

*/stuff/bootloader.S: fix VCPI case
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 02 15:48:36 2022 +0000 (2022-06-02)
parents 6b6d14c9f7e9
children
rev   line source
pascal@17542 1 # SliTaz package receipt.
pascal@17542 2
pascal@17542 3 PACKAGE="lzham_codec"
pascal@23943 4 VERSION="1_0_stable1"
pascal@17542 5 CATEGORY="base-system"
pascal@17542 6 SHORT_DESC="Lossless data compression codec with LZMA-like ratios but 1.5x-8x faster decompression speed."
pascal@17542 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@17542 8 LICENSE="MIT"
pascal@17542 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@17542 10 WEB_SITE="https://github.com/richgel999/lzham_codec"
pascal@23943 11 WGET_URL="$WEB_SITE/archive/v${VERSION/./_}.tar.gz"
pascal@18336 12 TAGS="compression"
pascal@17542 13
pascal@17542 14 DEPENDS="gcc-lib-base"
pascal@17542 15 BUILD_DEPENDS="wget cmake"
pascal@17542 16
pascal@23943 17 current_version()
pascal@23943 18 {
pascal@24299 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
pascal@24034 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@23943 21 }
pascal@23943 22
pascal@17542 23 # Rules to configure and make the package.
pascal@17542 24 compile_rules()
pascal@17542 25 {
pascal@17544 26 cmake . -DBUILD_X64=OFF -DCMAKE_BUILD_TYPE=Release && make
pascal@17542 27 }
pascal@17542 28
pascal@17542 29 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@17542 30 genpkg_rules()
pascal@17542 31 {
pascal@17542 32 mkdir -p $fs/usr/bin
pascal@17542 33 cp -a $src/bin_linux/lzhamtest $fs/usr/bin
pascal@17542 34 }