wok-current annotate 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 |
rev | line source |
---|---|
pascal@17542 | 1 # SliTaz package receipt. |
pascal@17542 | 2 |
pascal@17542 | 3 PACKAGE="lzham_codec" |
pascal@17542 | 4 VERSION="1.0" |
pascal@17542 | 5 CATEGORY="base-system" |
pascal@17542 | 6 SHORT_DESC="Lossless data compression codec with LZMA-like ratios but 1.5x-8x faster decompression speed." |
pascal@17542 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17542 | 8 LICENSE="MIT" |
pascal@17542 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@17542 | 10 WEB_SITE="https://github.com/richgel999/lzham_codec" |
pascal@17542 | 11 WGET_URL="$WEB_SITE/archive/v${VERSION/./_}_release.tar.gz" |
pascal@17542 | 12 |
pascal@17542 | 13 DEPENDS="gcc-lib-base" |
pascal@17542 | 14 BUILD_DEPENDS="wget cmake" |
pascal@17542 | 15 |
pascal@17542 | 16 # Rules to configure and make the package. |
pascal@17542 | 17 compile_rules() |
pascal@17542 | 18 { |
pascal@17542 | 19 cmake . -DBUILD_X64=OFF -DCMAKE_BUILD_TYPE=Release && |
pascal@17542 | 20 make && |
pascal@17542 | 21 make DESTDIR=$DESTDIR install |
pascal@17542 | 22 } |
pascal@17542 | 23 |
pascal@17542 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17542 | 25 genpkg_rules() |
pascal@17542 | 26 { |
pascal@17542 | 27 mkdir -p $fs/usr/bin |
pascal@17542 | 28 cp -a $src/bin_linux/lzhamtest $fs/usr/bin |
pascal@17542 | 29 } |