wok view lz4/receipt @ rev 20117

Up lz4 (1.8.0), zstd - Long Range (1.3.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 13 13:42:46 2017 +0200 (2017-10-13)
parents 3e9724b9fc42
children 35a23f513b71
line source
1 # SliTaz package receipt.
3 PACKAGE="lz4"
4 VERSION="1.8.0"
5 CATEGORY="base-system"
6 SHORT_DESC="High speed lossless compressor."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://www.lz4.org/"
10 TARBALL="$PACKAGE-r$VERSION.tar.gz"
11 WGET_URL="https://github.com/lz4/lz4/archive/v$VERSION.tar.gz"
12 TAGS="compression"
14 BUILD_DEPENDS="wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 find -type f | xargs sed -i 's|usr/local|usr|'
20 make && make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/bin
27 cp -a $install/usr/bin/lz4 $fs/usr/bin
28 cp -a $install/usr/bin/lz4cat $fs/usr/bin
29 cp -a $install/usr/bin/unlz4 $fs/usr/bin
30 }