pciutils, revbump, use pci.ids from hwdata (#11781)

This commit is contained in:
Schrijvers Luc
2025-02-12 16:55:12 +01:00
committed by GitHub
parent 5bafb98d3c
commit 095aa6c127

View File

@@ -13,7 +13,7 @@ registers. For example, you can adjust the latency timers with it."
HOMEPAGE="https://mj.ucw.cz/sw/pciutils/"
COPYRIGHT="1997-2024 Martin Mares"
LICENSE="GNU GPL v2"
REVISION="1"
REVISION="2"
SOURCE_URI="https://mj.ucw.cz/download/linux/pci/pciutils-$portVersion.tar.gz"
CHECKSUM_SHA256="1904864ce5b0272d0a2e42e72ceac9e8810d1898480567f36b70642f8205fbfd"
PATCHES="pciutils-$portVersion.patchset"
@@ -42,6 +42,7 @@ PROVIDES="
REQUIRES="
haiku$secondaryArchSuffix
hwdata
"
PROVIDES_devel="
@@ -76,7 +77,7 @@ INSTALL()
BINDIR="$commandBinDir" \
SBINDIR="$commandBinDir" \
SHAREDIR="$dataDir" \
IDSDIR="$dataDir"/pciutils \
IDSDIR="$dataDir"/hwdata \
MANDIR="$manDir" \
INCDIR="$includeDir" \
LIBDIR="$libDir" \
@@ -85,6 +86,8 @@ INSTALL()
# update-pciids is useless because pci.ids is read-only.
rm -f "$commandBinDir"/update-pciids
rm -f "$manDir"/man*/update-pciids.*
# use pci.ids from hwdata
rm -rf $dataDir/hwdata
prepareInstalledDevelLib libpci
fixPkgconfig