wok rev 24175

Up usbids (20211224)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 30 11:41:25 2021 +0000 (2021-12-30)
parents 16aa2ac699ef
children 62cc22bebaa9
files os-prober/receipt outguess/receipt pciids/receipt usbids/receipt
line diff
     1.1 --- a/os-prober/receipt	Thu Dec 30 06:42:15 2021 +0100
     1.2 +++ b/os-prober/receipt	Thu Dec 30 11:41:25 2021 +0000
     1.3 @@ -13,6 +13,12 @@
     1.4  
     1.5  DEPENDS="coreutils"
     1.6  
     1.7 +current_version()
     1.8 +{
     1.9 +	wget -O - ${WGET_URL%/*} 2>/dev/null | \
    1.10 +	sed "/$PACKAGE/!d;s|.*${PACKAGE}_||;s|_.*||" | tail -n 1
    1.11 +}
    1.12 +
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
     2.1 --- a/outguess/receipt	Thu Dec 30 06:42:15 2021 +0100
     2.2 +++ b/outguess/receipt	Thu Dec 30 11:41:25 2021 +0000
     2.3 @@ -14,6 +14,12 @@
     2.4  
     2.5  BUILD_DEPENDS="automake jpeg-dev"
     2.6  
     2.7 +current_version()
     2.8 +{
     2.9 +	wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
    2.10 +	sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
    2.11 +}
    2.12 +
    2.13  # Rules to configure and make the package.
    2.14  compile_rules()
    2.15  {
     3.1 --- a/pciids/receipt	Thu Dec 30 06:42:15 2021 +0100
     3.2 +++ b/pciids/receipt	Thu Dec 30 11:41:25 2021 +0000
     3.3 @@ -15,6 +15,13 @@
     3.4  
     3.5  HOST_ARCH="i486 arm"
     3.6  
     3.7 +current_version()
     3.8 +{
     3.9 +	wget -O - https://github.com/pciutils/pciids/commits/master 2>/dev/null | \
    3.10 +	sed '/Commits on/!d;s|.* on |"|;s|<.*|"|;q' | \
    3.11 +	LOCALE=C xargs busybox date +%Y%m%d -D "%b %d, %Y" -d
    3.12 +}
    3.13 +
    3.14  # Rules to configure and make the package.
    3.15  compile_rules()
    3.16  {
     4.1 --- a/usbids/receipt	Thu Dec 30 06:42:15 2021 +0100
     4.2 +++ b/usbids/receipt	Thu Dec 30 11:41:25 2021 +0000
     4.3 @@ -1,7 +1,7 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="usbids"
     4.7 -VERSION="20191031"
     4.8 +VERSION="20211224"
     4.9  CATEGORY="misc"
    4.10  SHORT_DESC="List of USB ID's."
    4.11  MAINTAINER="slaxemulator@gmail.com"
    4.12 @@ -15,6 +15,12 @@
    4.13  
    4.14  HOST_ARCH="i486 arm"
    4.15  
    4.16 +current_version()
    4.17 +{
    4.18 +	wget -O - http://www.linux-usb.org/usb.ids 2>/dev/null | \
    4.19 +	sed '/^# Version/!d;s|.*: ||;s|\.||g;q'
    4.20 +}
    4.21 +
    4.22  # Rules to configure and make the package.
    4.23  compile_rules()
    4.24  {