wok-6.x annotate cv/receipt @ rev 23879
Up slitaz-boot-scripts (461): busybox may need /usr/lib/libstd++.so
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jul 05 12:49:35 2020 +0000 (2020-07-05) |
parents | c7c3567bd8d4 |
children | 5ea0ce1cecc0 |
rev | line source |
---|---|
pascal@16978 | 1 # SliTaz package receipt. |
pascal@16978 | 2 |
pascal@16978 | 3 PACKAGE="cv" |
Hans-G?nter@22624 | 4 VERSION="0.7.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" |
Hans-G?nter@22624 | 9 WEB_SITE="https://github.com/Xfennec/cv" |
Hans-G?nter@22624 | 10 |
pascal@16978 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@16978 | 12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz" |
pascal@16978 | 13 |
pascal@16978 | 14 DEPENDS="ncurses" |
Hans-G?nter@22624 | 15 BUILD_DEPENDS="ncurses-dev" |
pascal@16978 | 16 |
pascal@16978 | 17 # Rules to configure and make the package. |
pascal@16978 | 18 compile_rules() |
pascal@16978 | 19 { |
pascal@17673 | 20 sed -i 's|/local||;s|-lncurses|& -ltinfo|' Makefile |
Hans-G?nter@22624 | 21 |
Hans-G?nter@22624 | 22 make && |
Hans-G?nter@22624 | 23 make DESTDIR=$DESTDIR install |
pascal@16978 | 24 } |
pascal@16978 | 25 |
pascal@16978 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16978 | 27 genpkg_rules() |
pascal@16978 | 28 { |
Hans-G?nter@22624 | 29 cp -a $install/* $fs/ |
pascal@16978 | 30 } |