wok-next annotate lz5/receipt @ rev 19001
Use variables in $TARBALL
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Mar 23 11:51:37 2016 +0200 (2016-03-23) |
parents | 1a13f0bc5fb1 |
children | 35a20e111081 |
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 } |