aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hw-probe/APKBUILD
blob: 2bb864b5ce2e782e67daba2d6151cf9d1ebdbfbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname="hw-probe"
pkgver=1.5
pkgrel=0
pkgdesc="A tool to probe for hardware and upload result to the Linux Hardware Database"
url="https://github.com/linuxhw/hw-probe"
arch="noarch"
license="LGPL-2.1"
makedepends="perl-dev"
depends="perl-digest-sha1 perl-data-dumper perl-libwww
hwinfo curl dmidecode smartmontools hwids-pci hwids-usb hwids-net
memtester hdparm i2c-tools acpica sysstat"
options="!check" # no test available
source="$pkgname-$pkgver.tar.gz::https://github.com/linuxhw/hw-probe/archive/$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	make PREFIX=/usr
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="80dd2484bd317ac1e86d7f434626f288648aebf110a4bf81c0c05548abcb19d990119c1690fcb5796384a6c32fd5c1e827698a31165bfc41ef6df9fc7fdd368d  hw-probe-1.5.tar.gz"