aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/hw-probe/APKBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/testing/hw-probe/APKBUILD b/testing/hw-probe/APKBUILD
new file mode 100644
index 0000000000..0010660e79
--- /dev/null
+++ b/testing/hw-probe/APKBUILD
@@ -0,0 +1,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"