wok-next view lz4/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 911d588a7120 |
children | 7fc972e95a2e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lz4"
4 VERSION="1.8.2"
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="$PACKAGE-lib $PACKAGE-dev"
16 compile_rules() {
17 export AR="$HOST_SYSTEM-ar"
18 make &&
19 make PREFIX=/usr DESTDIR=$install install
20 }
22 genpkg_rules() {
23 case $PACKAGE in
24 lz4)
25 copy lz4 unlz4 lz4cat
26 DEPENDS=" "
27 TAGS="compression"
28 ;;
29 *-lib)
30 copy *.so*
31 CAT="base-system|shared library"
32 DEPENDS=" "
33 ;;
34 *-dev)
35 copy @dev
36 ;;
37 esac
38 }