wok-next 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 6f6cfd05b392
children 30cc6214b5bd
files lzham_codec/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/lzham_codec/receipt	Tue Jan 27 15:44:44 2015 +0100
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="lzham_codec"
     1.7 +VERSION="1.0"
     1.8 +CATEGORY="base-system"
     1.9 +SHORT_DESC="Lossless data compression codec with LZMA-like ratios but 1.5x-8x faster decompression speed."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="MIT"
    1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +WEB_SITE="https://github.com/richgel999/lzham_codec"
    1.14 +WGET_URL="$WEB_SITE/archive/v${VERSION/./_}_release.tar.gz"
    1.15 +
    1.16 +DEPENDS="gcc-lib-base"
    1.17 +BUILD_DEPENDS="wget cmake"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	cmake . -DBUILD_X64=OFF -DCMAKE_BUILD_TYPE=Release &&
    1.23 +	make &&
    1.24 +	make DESTDIR=$DESTDIR install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/bin
    1.31 +	cp -a $src/bin_linux/lzhamtest $fs/usr/bin
    1.32 +}