wok-6.x view lz5/receipt @ rev 19761

Up: libpng+apng (1.6.28)
author Alexander Medvedev <devl547@gmail.com>
date Sun Feb 19 09:21:30 2017 +0000 (2017-02-19)
parents 0d2e6c06ec25
children 5ea0ce1cecc0
line source
1 # SliTaz package receipt.
3 PACKAGE="lz5"
4 VERSION="2.0"
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/usr/bin $fs/usr
28 cp -a $install/usr/lib/*.so* $fs/usr/lib
29 }