wok annotate cv/receipt @ rev 16978
Add cv
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Aug 06 16:00:58 2014 +0200 (2014-08-06) |
parents | |
children | 17e313b5b9c1 |
rev | line source |
---|---|
pascal@16978 | 1 # SliTaz package receipt. |
pascal@16978 | 2 |
pascal@16978 | 3 PACKAGE="cv" |
pascal@16978 | 4 VERSION="0.4.1" |
pascal@16978 | 5 CATEGORY="system-tools" |
pascal@16978 | 6 SHORT_DESC="Linux tool to show progress for cp, rm, dd, ..." |
pascal@16978 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16978 | 8 LICENSE="GPL3" |
pascal@16978 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16978 | 10 WEB_SITE="https://github.com/Xfennec/cv" |
pascal@16978 | 11 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@16978 | 12 |
pascal@16978 | 13 DEPENDS="ncurses" |
pascal@16978 | 14 BUILD_DEPENDS="wget ncurses-dev" |
pascal@16978 | 15 |
pascal@16978 | 16 # Rules to configure and make the package. |
pascal@16978 | 17 compile_rules() |
pascal@16978 | 18 { |
pascal@16978 | 19 sed -i 's|/local||' Makefile |
pascal@16978 | 20 make && make DESTDIR=$DESTDIR install |
pascal@16978 | 21 } |
pascal@16978 | 22 |
pascal@16978 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16978 | 24 genpkg_rules() |
pascal@16978 | 25 { |
pascal@16978 | 26 cp -a $install/* $fs/ |
pascal@16978 | 27 } |