wok-6.x annotate lz5/receipt @ rev 19643
linld: fix cpuhaslm (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 21 12:01:33 2017 +0100 (2017-01-21) |
parents | 1a13f0bc5fb1 |
children | 88dbf519f075 |
rev | line source |
---|---|
pascal@18926 | 1 # SliTaz package receipt. |
pascal@18926 | 2 |
pascal@18926 | 3 PACKAGE="lz5" |
pascal@18926 | 4 VERSION="1.4.1" |
pascal@18926 | 5 CATEGORY="base-system" |
pascal@18926 | 6 SHORT_DESC="A modification of LZ4 with a better ratio but slower." |
pascal@18926 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@18926 | 8 LICENSE="BSD GPL2" |
pascal@18926 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@18926 | 10 WEB_SITE="https://github.com/inikep/lz5" |
pascal@18926 | 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@18926 | 12 |
pascal@18926 | 13 BUILD_DEPENDS="pkg-config" |
pascal@18926 | 14 |
pascal@18926 | 15 # Rules to configure and make the package. |
pascal@18926 | 16 compile_rules() |
pascal@18926 | 17 { |
pascal@18926 | 18 sed -i 's|/usr/local|/usr|' Makefile */Makefile |
pascal@18926 | 19 make && |
pascal@18926 | 20 make DESTDIR=$DESTDIR install |
pascal@18926 | 21 } |
pascal@18926 | 22 |
pascal@18926 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@18926 | 24 genpkg_rules() |
pascal@18926 | 25 { |
pascal@18926 | 26 cp -a $install/bin $fs/ |
pascal@18926 | 27 } |