SUMMARY="A tool to probe for hardware, check operability"
DESCRIPTION="A probe is a snapshot of your computer's hardware state and logs.\
 The tool checks operability of devices by analysis of logs and upload the probe of \
the computer for sharing. Adapted for Haiku, probes shared on transfer.sh, \
published on an online Form."
HOMEPAGE="https://github.com/korli/hw-probe/"
COPYRIGHT="2014-2022 Linux Hardware Project"
LICENSE="GNU LGPL v2.1"
REVISION="2"
gitCommit="77686d5d4e29c231e7fda980eeec578a11aca9ac"
SOURCE_URI="https://github.com/korli/hw-probe/archive/$gitCommit.tar.gz"
CHECKSUM_SHA256="bff2cc652b19308f2fc680665a5bfa2034a1c2574604a3c81d6252330959eb0a"
SOURCE_DIR="hw-probe-$gitCommit"

ARCHITECTURES="any"

PROVIDES="
	hw_probe = $portVersion
	cmd:hw_probe = $portVersion
	"
REQUIRES="
	haiku
	cmd:curl
	cmd:dmidecode
	cmd:lspci
	cmd:perl
	"

INSTALL()
{
	mkdir $binDir
	install -m 755 hw-probe.pl $binDir/hw-probe
}
