wok-next view lz4/receipt @ rev 20709

cdrdao: add patch.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 26 17:09:29 2018 +0300 (2018-05-26)
parents ccb92f8ccaf6
children aa21a3403934
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GITHUB/lz4/lz4/tarball/v$VERSION"
14 SPLIT="lz4-dev lz4-lib lz4c"
16 compile_rules() {
17 export AR="$HOST_SYSTEM-ar"
18 make && make PREFIX=/usr DESTDIR=$DESTDIR install
19 }
21 genpkg_rules() {
22 case $PACKAGE in
23 lz4)
24 copy lz4 unlz4 lz4cat
25 DEPENDS=" "
26 TAGS="compression"
27 ;;
28 lz4c)
29 copy lz4c
30 CAT="base-system|lz4c compressor"
31 DEPENDS=" "
32 TAGS="compression"
33 ;;
34 lz4-lib)
35 copy *.so*
36 CAT="base-system|lz4c compressor shared library"
37 DEPENDS=" "
38 ;;
39 lz4-dev)
40 copy @dev
41 ;;
42 esac
43 }