wok-next view lz5/receipt @ rev 18926

Add lz5
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 25 14:32:25 2016 +0100 (2016-02-25)
parents
children 0d2e6c06ec25
line source
1 # SliTaz package receipt.
3 PACKAGE="lz5"
4 VERSION="1.4.1"
5 CATEGORY="base-system"
6 SHORT_DESC="A modification of LZ4 with a better ratio but slower."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/inikep/lz5"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
13 BUILD_DEPENDS="pkg-config"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 sed -i 's|/usr/local|/usr|' Makefile */Makefile
19 make &&
20 make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $install/bin $fs/
28 cp -a $install/usr/lib/*.so* $fs/usr/lib/
29 }