hw-probe: new recipe

adapted for Haiku, probes are pushed on transfer.sh, then added to a google form.
This commit is contained in:
Jerome Duval
2022-03-06 10:28:40 +01:00
parent f17fa361c8
commit 4fc781851a

View File

@@ -0,0 +1,33 @@
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="1"
gitCommit="36746189310db9150d1c790f0dba3c762e9fe2ca"
SOURCE_URI="https://github.com/korli/hw-probe/archive/$gitCommit.tar.gz"
CHECKSUM_SHA256="8d58bfeecb57d1057dce3837a532dc75a7d96efe0934d15e034a7db8a26ae8cf"
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
}