summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-12-16 07:44:58 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-12-16 07:44:58 +0000
commit59e12d7cecb3da607c375ce07f916605c6a177cb (patch)
tree44d1d67af67ea91e487b1b6397843f8fc2647aa1 /user
parentf96226f026ca8cf3fd0112f4e22ba93d3e2c9499 (diff)
downloadpackages-59e12d7cecb3da607c375ce07f916605c6a177cb.tar.gz
packages-59e12d7cecb3da607c375ce07f916605c6a177cb.tar.bz2
packages-59e12d7cecb3da607c375ce07f916605c6a177cb.tar.xz
packages-59e12d7cecb3da607c375ce07f916605c6a177cb.zip
user/pciutils: fix hwids, enable hwdb support
Diffstat (limited to 'user')
-rw-r--r--user/pciutils/APKBUILD18
1 files changed, 7 insertions, 11 deletions
diff --git a/user/pciutils/APKBUILD b/user/pciutils/APKBUILD
index 92964b95f..f198c08c8 100644
--- a/user/pciutils/APKBUILD
+++ b/user/pciutils/APKBUILD
@@ -2,14 +2,14 @@
# Maintainer:
pkgname=pciutils
pkgver=3.6.2
-pkgrel=0
+pkgrel=1
pkgdesc="PCI bus configuration space access library and tools"
url="http://mj.ucw.cz/pciutils.html"
arch="all"
options="!check" # No test suite.
license="GPL-2.0-only"
-depends="hwdata-pci"
-makedepends="linux-headers"
+depends="hwids-pci"
+makedepends="eudev-dev kmod-dev linux-headers cmd:which"
subpackages="$pkgname-doc $pkgname-dev $pkgname-libs"
source="https://www.kernel.org/pub/software/utils/$pkgname/$pkgname-$pkgver.tar.gz
fix-linking-pci-malloc-Makefile.patch
@@ -33,15 +33,11 @@ package() {
SHARED=yes \
SHAREDIR="$pkgdir"/usr/share/hwdata \
MANDIR="$pkgdir"/usr/share/man \
- install
-
- install -d "$pkgdir"/usr/lib
- ln -s libpci.so.${pkgver%%.*} "$pkgdir"/usr/lib/libpci.so
- install -D -m 644 lib/libpci.pc "$pkgdir"/usr/lib/pkgconfig/libpci.pc
- for i in config.h header.h pci.h types.h; do
- install -D -m 644 lib/${i} "$pkgdir"/usr/include/pci/${i}
- done
+ install install-lib
+ rm "$pkgdir"/usr/sbin/update-pciids
+ rm "$pkgdir"/usr/share/man/man8/update-pciids.8
+ rm -r "$pkgdir"/usr/share/hwdata
}
sha512sums="a9332f07755ab8af6ba99a5fa3cf739b0f3688276902673b9fe981955c4fa732c3d0ccaa150942ecaf4b263a10c2653f5454aa87492cac1dd805f33500fac489 pciutils-3.6.2.tar.gz