aboutsummaryrefslogtreecommitdiffstats
path: root/testing/hw-probe/APKBUILD
blob: 0010660e7931a46677da50da814e3bd5b7f6369a (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.4"
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="4024de223affe61cebf6a666f2b02223ce6c2fc4b558689cbb2706195d42e1d8d7dbb86b56fcbbb535d3ec09d9eb86d7099ca1779bed2bc49f7e6f7886d81c47  hw-probe-1.4.tar.gz"