wok-current view lzham_codec/receipt @ rev 18507
mozo: update compile rules
author | Yuri Pourre <yuripourre@gmail.com> |
---|---|
date | Sat Oct 17 13:39:12 2015 -0300 (2015-10-17) |
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 }