wok-next annotate lzham_codec/receipt @ rev 18528
Up nvidia-173xx
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Tue Oct 27 06:19:41 2015 +0100 (2015-10-27) |
parents | 36b17616c07e |
children | 35a20e111081 |
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@18336 | 12 TAGS="compression" |
pascal@17542 | 13 |
pascal@17542 | 14 DEPENDS="gcc-lib-base" |
pascal@17542 | 15 BUILD_DEPENDS="wget cmake" |
pascal@17542 | 16 |
pascal@17542 | 17 # Rules to configure and make the package. |
pascal@17542 | 18 compile_rules() |
pascal@17542 | 19 { |
pascal@17544 | 20 cmake . -DBUILD_X64=OFF -DCMAKE_BUILD_TYPE=Release && make |
pascal@17542 | 21 } |
pascal@17542 | 22 |
pascal@17542 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17542 | 24 genpkg_rules() |
pascal@17542 | 25 { |
pascal@17542 | 26 mkdir -p $fs/usr/bin |
pascal@17542 | 27 cp -a $src/bin_linux/lzhamtest $fs/usr/bin |
pascal@17542 | 28 } |