wok-next annotate cv/receipt @ rev 17759
hsetroot, wbar: link with libX11
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 10 08:31:24 2015 +0100 (2015-03-10) |
parents | 17e313b5b9c1 |
children | 466bca9334ef |
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@17673 | 19 sed -i 's|/local||;s|-lncurses|& -ltinfo|' 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 } |