wok-next view lz4/receipt @ rev 20236
linux-cloop: tiny patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 06 10:18:18 2017 +0100 (2017-11-06) |
parents | 9dc05d12ebef |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lz4"
4 VERSION="1.7.5"
5 CATEGORY="base-system"
6 SHORT_DESC="High speed lossless compressor"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://lz4.github.io/lz4/"
10 TAGS="compression"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$GITHUB/lz4/lz4/tarball/v$VERSION"
15 SPLIT="lz4-dev lz4-lib lz4c"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 make && make PREFIX=/usr DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 case $PACKAGE in
27 lz4)
28 copy lz4 unlz4 lz4cat
29 DEPENDS=" "
30 ;;
31 lz4c)
32 CAT="base-system|lz4c compressor"
33 copy lz4c
34 DEPENDS=" "
35 ;;
36 lz4-lib)
37 CAT="base-system|lz4c compressor shared library"
38 copy *.so*
39 DEPENDS=" "
40 ;;
41 lz4-dev)
42 copy @dev
43 ;;
44 esac
45 }