wok-next annotate lz4/receipt @ rev 18056
Up: cookutils, cookutils-daemon (737).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 15 16:51:30 2015 +0300 (2015-05-15) |
parents | ffbe86af1ad6 |
children | e36297550e94 |
rev | line source |
---|---|
pascal@13235 | 1 # SliTaz package receipt. |
pascal@13235 | 2 |
pascal@13235 | 3 PACKAGE="lz4" |
pascal@17944 | 4 VERSION="128" |
pascal@13235 | 5 CATEGORY="base-system" |
pankso@15872 | 6 SHORT_DESC="High speed lossless compressor." |
pascal@13235 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15195 | 8 LICENSE="BSD" |
pascal@13235 | 9 WEB_SITE="http://code.google.com/p/lz4/" |
pankso@15872 | 10 TARBALL="$PACKAGE-r$VERSION.tar.gz" |
pascal@17944 | 11 WGET_URL="https://github.com/Cyan4973/lz4/archive/r$VERSION.tar.gz" |
pascal@13235 | 12 TAGS="compression" |
pascal@13235 | 13 |
pascal@17944 | 14 BUILD_DEPENDS="wget" |
pascal@17944 | 15 |
pascal@13235 | 16 # Rules to configure and make the package. |
pascal@13235 | 17 compile_rules() |
pascal@13235 | 18 { |
pascal@17944 | 19 find -type f | xargs sed -i 's|usr/local|usr|' |
pankso@15872 | 20 make && make DESTDIR=$DESTDIR install |
pascal@13235 | 21 } |
pascal@13235 | 22 |
pascal@13235 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13235 | 24 genpkg_rules() |
pascal@13235 | 25 { |
pascal@13235 | 26 mkdir -p $fs/usr/bin |
pankso@15872 | 27 cp -a $install/usr/bin/lz4 $fs/usr/bin |
pascal@13235 | 28 } |