wok-next diff lz5/receipt @ rev 20564
shell-detector, screenfetch: create $install tree
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 10 10:14:26 2018 +0200 (2018-04-10) |
parents | f463de72afe3 |
children | d5aab818505e |
line diff
1.1 --- a/lz5/receipt Sun Jun 18 04:38:10 2017 +0300 1.2 +++ b/lz5/receipt Tue Apr 10 10:14:26 2018 +0200 1.3 @@ -1,9 +1,9 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="lz5" 1.8 VERSION="1.5" 1.9 CATEGORY="base-system" 1.10 -SHORT_DESC="A modification of LZ4 with a better ratio but slower." 1.11 +SHORT_DESC="A modification of LZ4 with a better ratio but slower" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="BSD GPL2" 1.14 WEB_SITE="https://github.com/inikep/lz5" 1.15 @@ -11,15 +11,20 @@ 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 WGET_URL="$GITHUB/inikep/lz5/tarball/v$VERSION" 1.18 1.19 -# Rules to configure and make the package. 1.20 -compile_rules() 1.21 -{ 1.22 +SPLIT="lz5-dev" 1.23 + 1.24 +compile_rules() { 1.25 make && 1.26 make PREFIX=/usr DESTDIR=$DESTDIR install 1.27 } 1.28 1.29 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 -genpkg_rules() 1.31 -{ 1.32 - copy bin/ 1.33 +genpkg_rules() { 1.34 + case $PACKAGE in 1.35 + lz5) 1.36 + copy bin/ 1.37 + ;; 1.38 + *-dev) 1.39 + copy include/ lib/ 1.40 + ;; 1.41 + esac 1.42 }