termux-packages/root-packages/hw-probe/build.sh
2022-04-18 14:32:01 +05:30

20 lines
646 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/linuxhw/hw-probe
TERMUX_PKG_DESCRIPTION="Tool to probe for hardware and check its operability"
TERMUX_PKG_LICENSE="GPL-2.0"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.6
TERMUX_PKG_REVISION=2
TERMUX_PKG_SRCURL=https://github.com/linuxhw/hw-probe/archive/$TERMUX_PKG_VERSION.tar.gz
TERMUX_PKG_SHA256=de048be6aef357d3142c9e2327d6f79d205a42aa3396ad381ed319115d1c9a22
TERMUX_PKG_DEPENDS="curl, hwinfo, net-tools, perl"
TERMUX_PKG_PLATFORM_INDEPENDENT=true
TERMUX_PKG_BUILD_IN_SRC=true
termux_step_make() {
:
}
termux_step_make_install() {
install -Dm700 hw-probe.pl "$TERMUX_PREFIX"/bin/hw-probe
}