wok-6.x view lzham_codec/receipt @ rev 18020

Up rp-pppoe (3.11)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 02 22:46:46 2015 +0200 (2015-05-02)
parents 1bc35c002ae0
children 3d6389217d9a
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 && make
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin
26 cp -a $src/bin_linux/lzhamtest $fs/usr/bin
27 }