wok-current view lz4/receipt @ rev 21884
merkaartor: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 30 17:25:34 2019 +0200 (2019-09-30) |
parents | 106635122fe4 |
children | 25f8eb393142 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lz4"
4 VERSION="1.9.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://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 LDFLAGS="$LDFLAGS -lrt" && make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr $install/usr/share
27 cp -a $install/usr/bin $fs/usr
28 cp -a $src/doc $install/usr/share
29 cp $src/README* $src/NEWS $src/LICENSE $install/usr/share/doc
30 }