wok view pciids/receipt @ rev 24226

updated perl-io-tty (1.14 -> 1.16)
author Hans-G?nter Theisgen
date Fri Dec 31 17:52:39 2021 +0100 (2021-12-31)
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 }