wok diff libnfc/receipt @ rev 25691
Up lynis (3.1.1), ncurses-examples (20211021)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 16 10:43:04 2024 +0000 (7 weeks ago) |
parents | 76d48bfbaefd |
children |
line diff
1.1 --- a/libnfc/receipt Tue Mar 22 17:39:27 2022 +0100 1.2 +++ b/libnfc/receipt Tue Apr 16 10:43:04 2024 +0000 1.3 @@ -14,10 +14,11 @@ 1.4 DEPENDS="libusb pcsc-lite" 1.5 BUILD_DEPENDS="libusb-compat libusb-dev pcsc-lite-dev pkg-config" 1.6 1.7 +# What is the latest version available today? 1.8 current_version() 1.9 { 1.10 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ 1.11 - sed '/archive.*tar/!d;s|.*/libnfc-\(.*\).tar.*|\1|;q' 1.12 + sed '/tag\//!d;s|.*tag/[a-z-]*||;s|".*||;q' 1.13 } 1.14 1.15 # Rules to configure and make the package.