wok annotate lzham_codec/receipt @ rev 17602
appdata-tools: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 12 11:09:07 2015 +0100 (2015-02-12) |
parents | 1bc35c002ae0 |
children | 3d6389217d9a |
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@17544 | 19 cmake . -DBUILD_X64=OFF -DCMAKE_BUILD_TYPE=Release && make |
pascal@17542 | 20 } |
pascal@17542 | 21 |
pascal@17542 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17542 | 23 genpkg_rules() |
pascal@17542 | 24 { |
pascal@17542 | 25 mkdir -p $fs/usr/bin |
pascal@17542 | 26 cp -a $src/bin_linux/lzhamtest $fs/usr/bin |
pascal@17542 | 27 } |