wok-current annotate cv/receipt @ rev 25687
Up expat CVE-2024-28757
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 15 07:23:20 2024 +0000 (5 months ago) |
parents | 5ea0ce1cecc0 |
children |
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@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24299 | 19 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24055 | 20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@16978 | 23 # Rules to configure and make the package. |
pascal@16978 | 24 compile_rules() |
pascal@16978 | 25 { |
pascal@17673 | 26 sed -i 's|/local||;s|-lncurses|& -ltinfo|' Makefile |
Hans-G?nter@22624 | 27 |
Hans-G?nter@22624 | 28 make && |
Hans-G?nter@22624 | 29 make DESTDIR=$DESTDIR install |
pascal@16978 | 30 } |
pascal@16978 | 31 |
pascal@16978 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16978 | 33 genpkg_rules() |
pascal@16978 | 34 { |
Hans-G?nter@22624 | 35 cp -a $install/* $fs/ |
pascal@16978 | 36 } |