wok annotate pciids/receipt @ rev 25443
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 03 09:28:15 2022 +0000 (2022-09-03) |
parents | 16aa2ac699ef |
children |
rev | line source |
---|---|
slaxemulator@11042 | 1 # SliTaz package receipt. |
slaxemulator@11042 | 2 |
slaxemulator@11042 | 3 PACKAGE="pciids" |
Hans-G?nter@24174 | 4 VERSION="20211230" |
slaxemulator@11042 | 5 CATEGORY="misc" |
al@17960 | 6 SHORT_DESC="List of PCI ID's" |
slaxemulator@11042 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15375 | 8 LICENSE="BSD GPL2" |
Hans-G?nter@23279 | 9 WEB_SITE="https://pci-ids.ucw.cz/" |
Hans-G?nter@23279 | 10 |
al@17960 | 11 TARBALL="pci-$VERSION.ids.gz" |
al@17960 | 12 WGET_URL="${WEB_SITE}v2.2/pci.ids.gz" |
Hans-G?nter@23279 | 13 |
Hans-G?nter@24174 | 14 BUILD_DEPENDS="advancecomp" |
Hans-G?nter@24174 | 15 |
pankso@12927 | 16 HOST_ARCH="i486 arm" |
pankso@12927 | 17 |
pascal@24175 | 18 current_version() |
pascal@24175 | 19 { |
pascal@24175 | 20 wget -O - https://github.com/pciutils/pciids/commits/master 2>/dev/null | \ |
pascal@24175 | 21 sed '/Commits on/!d;s|.* on |"|;s|<.*|"|;q' | \ |
pascal@24175 | 22 LOCALE=C xargs busybox date +%Y%m%d -D "%b %d, %Y" -d |
pascal@24175 | 23 } |
pascal@24175 | 24 |
pascal@19247 | 25 # Rules to configure and make the package. |
pascal@19247 | 26 compile_rules() |
pascal@19247 | 27 { |
pascal@19247 | 28 advdef -z4 pci-$VERSION.ids.gz |
pascal@19247 | 29 } |
pascal@19247 | 30 |
slaxemulator@11042 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@11042 | 32 genpkg_rules() |
slaxemulator@11042 | 33 { |
slaxemulator@11042 | 34 mkdir -p $fs/usr/share/misc |
Hans-G?nter@23279 | 35 cp $src/pci-$VERSION.ids.gz $fs/usr/share/misc/pci.ids.gz |
slaxemulator@11042 | 36 } |