void-packages/srcpkgs/i8kutils/template
Peter Bui 51a51c5328 i8kutils: add missing acpi, tcl dependencies
i8kmon is a tcl script and thus needs tcl to run.  It also calls acpi to
read the battery status.
2020-12-15 11:27:13 -03:00

27 lines
732 B
Bash

# Template file for 'i8kutils'
pkgname=i8kutils
version=1.43
revision=3
archs="x86_64* i686*"
wrksrc="$pkgname"
build_style=gnu-makefile
depends="acpi tcl"
short_desc="Fan control for certain Dell laptops"
maintainer="Andrew Benson <abenson+void@gmail.com>"
license="GPL-2.0-or-later"
homepage="https://launchpad.net/i8kutils"
distfiles="https://launchpad.net/i8kutils/trunk/${version}/+download/i8kutils_${version}.tar.xz"
checksum=881a211c64f79be6a08c88864deda45280f0ce925ed9e2af180db2d93d364dcb
conf_files="/etc/i8kmon.conf"
do_install() {
vbin i8kfan
vbin i8kmon
vbin i8kctl
vman i8kctl.1
vman i8kmon.1
vinstall dell-smm-hwmon.conf 644 usr/lib/modprobe.d
vinstall i8kmon.conf 644 etc
vdoc README.i8kutils
vsv i8kmon
}