wok view pciids/receipt @ rev 24501

updated drbd-utils (9.11.0 -> 9.20.2)
author Hans-G?nter Theisgen
date Sun Feb 20 09:23:47 2022 +0100 (2022-02-20)
parents 16aa2ac699ef
children
line source
1 # SliTaz package receipt.
3 PACKAGE="pciids"
4 VERSION="20211230"
5 CATEGORY="misc"
6 SHORT_DESC="List of PCI ID's"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="BSD GPL2"
9 WEB_SITE="https://pci-ids.ucw.cz/"
11 TARBALL="pci-$VERSION.ids.gz"
12 WGET_URL="${WEB_SITE}v2.2/pci.ids.gz"
14 BUILD_DEPENDS="advancecomp"
16 HOST_ARCH="i486 arm"
18 current_version()
19 {
20 wget -O - https://github.com/pciutils/pciids/commits/master 2>/dev/null | \
21 sed '/Commits on/!d;s|.* on |"|;s|<.*|"|;q' | \
22 LOCALE=C xargs busybox date +%Y%m%d -D "%b %d, %Y" -d
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 advdef -z4 pci-$VERSION.ids.gz
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/misc
35 cp $src/pci-$VERSION.ids.gz $fs/usr/share/misc/pci.ids.gz
36 }