wok-next view lzham_codec/receipt @ rev 18472

ghostscript, libv4l, slitaz-base-files: fix installation (thanks llev)
ghostscript: fix package upgrades;
libv4l: check multiple preloads in case of upgrade, not add preload if installation not finished/fails;
slitaz-base-files: not to overwrite real sudo.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Oct 05 01:10:26 2015 +0300 (2015-10-05)
parents 36b17616c07e
children 35a20e111081
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 }