wok-current view cv/receipt @ rev 24263

updated perl-time-hires (1.9760 -> 1.9764)
author Hans-G?nter Theisgen
date Sun Jan 02 10:20:35 2022 +0100 (2022-01-02)
parents c59529fd7643
children ac8ca9758df1
line source
1 # SliTaz package receipt.
3 PACKAGE="cv"
4 VERSION="0.7.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 WEB_SITE="https://github.com/Xfennec/cv"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 DEPENDS="ncurses"
15 BUILD_DEPENDS="ncurses-dev"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sed -i 's|/local||;s|-lncurses|& -ltinfo|' Makefile
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 cp -a $install/* $fs/
36 }