| Name |
hwdata |
| Description |
Hardware identification and configuration data |
| Version |
0.395-r0 |
| Package Base |
hwdata |
| Homepage |
https://github.com/vcrhonek/hwdata |
| Maintainers |
['Simon Zeni <simon@bl4ckb0ne.ca>'] |
| Contributors |
[] |
| Distro-repo |
https://gitlab.alpinelinux.org/alpine/aports/-/tree/3.22-stable/main/hwdata |
| Sources |
['$pkgname-0.395-r0.tar.gz::https://github.com/vcrhonek/hwdata/archive/refs/tags/v0.395-r0.tar.gz'] |
| Dependencies |
['$pkgname-net', '$pkgname-pci', '$pkgname-pnp', '$pkgname-usb', 'hwdata-net', 'hwdata-pci', 'hwdata-pnp', 'hwdata-usb'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
[] |
| Provides |
['hwids=20220101-r0'] |
| Builddate |
08-05-2025 15:21:30 |
| Architecture |
x86_64 |
| Distro-Version |
v3.22 |
| Licenses |
['GPL-2.0-or-later OR XFree86-1.1'] |
| Hash |
Q1id2NIGnb8BZTeQYD6GHhCIhCQg0= |
# Maintainer: Simon Zeni <simon@bl4ckb0ne.ca>
pkgname=hwdata
pkgver=0.395
pkgrel=0
pkgdesc="Hardware identification and configuration data"
url="https://github.com/vcrhonek/hwdata"
arch="noarch"
license="GPL-2.0-or-later OR XFree86-1.1"
depends_dev="$pkgname=$pkgver-r$pkgrel"
subpackages="$pkgname-dev $pkgname-usb $pkgname-pci $pkgname-pnp $pkgname-net"
source="$pkgname-$pkgver.tar.gz::https://github.com/vcrhonek/hwdata/archive/refs/tags/v$pkgver.tar.gz"
options="!check" # just firmware data
replaces="hwids"
# be higher since hwids was a large date version
provides="hwids=20220101-r$pkgrel"
build() {
./configure \
--prefix=/usr \
--sysconfdir=/etc \
--datadir=/usr/share \
--disable-blacklist
}
package() {
depends="
$pkgname-usb=$pkgver-r$pkgrel
$pkgname-pci=$pkgver-r$pkgrel
$pkgname-pnp=$pkgver-r$pkgrel
$pkgname-net=$pkgver-r$pkgrel
"
make DESTDIR="$pkgdir" install
}
usb() {
pkgdesc="$pkgdesc (usb data)"
provides="hwids-usb=20220101-r$pkgrel"
replaces="hwids-usb"
amove usr/share/hwdata/usb.ids
}
pci() {
pkgdesc="$pkgdesc (pci data)"
provides="hwids-pci=20220101-r$pkgrel"
replaces="hwids-pci"
amove usr/share/hwdata/pci.ids
}
net() {
pkgdesc="$pkgdesc (net data)"
provides="hwids-net=20220101-r$pkgrel"
replaces="hwids-net"
amove usr/share/hwdata/oui.txt
amove usr/share/hwdata/iab.txt
}
pnp() {
pkgdesc="$pkgdesc (pnp data)"
amove usr/share/hwdata/pnp.ids
}
sha512sums="
3ad259200a6ecad3f9e2e05a59216494b56880f78b7749026a41f099a02a942917c11532540fcd5b7c74fe94d95f1665e3933ef580e048ccc87cafb646d2dd7a hwdata-0.395.tar.gz
"