wok-6.x view pciids/receipt @ rev 25015
Add bzip3
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue May 17 11:06:25 2022 +0000 (2022-05-17) |
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 }