wok view lzham_codec/receipt @ rev 22425

graphviz: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 15 18:41:53 2019 +0100 (2019-12-15)
parents 36b17616c07e
children df7ee1e0dc61
line source
1 # SliTaz package receipt.
3 PACKAGE="lzham_codec"
4 VERSION="1.0"
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/./_}_release.tar.gz"
12 TAGS="compression"
14 DEPENDS="gcc-lib-base"
15 BUILD_DEPENDS="wget cmake"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cmake . -DBUILD_X64=OFF -DCMAKE_BUILD_TYPE=Release && make
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp -a $src/bin_linux/lzhamtest $fs/usr/bin
28 }