wok view lzham_codec/receipt @ rev 17542

Add lzham_codec
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 27 15:44:44 2015 +0100 (2015-01-27)
parents
children 36b17616c07e
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"
13 DEPENDS="gcc-lib-base"
14 BUILD_DEPENDS="wget cmake"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cmake . -DBUILD_X64=OFF -DCMAKE_BUILD_TYPE=Release &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $src/bin_linux/lzhamtest $fs/usr/bin
29 }