wok-next view cv/receipt @ rev 19348
busybox: accept local variables out of function
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jul 23 10:12:39 2016 +0200 (2016-07-23) |
parents | 17e313b5b9c1 |
children | 466bca9334ef |
line source
1 # SliTaz package receipt.
3 PACKAGE="cv"
4 VERSION="0.4.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Linux tool to show progress for cp, rm, dd, ..."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/Xfennec/cv"
11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
13 DEPENDS="ncurses"
14 BUILD_DEPENDS="wget ncurses-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 sed -i 's|/local||;s|-lncurses|& -ltinfo|' Makefile
20 make && make DESTDIR=$DESTDIR install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 cp -a $install/* $fs/
27 }