summaryrefslogtreecommitdiff
path: root/repo/util/acpi
diff options
context:
space:
mode:
Diffstat (limited to 'repo/util/acpi')
-rw-r--r--repo/util/acpi/acpi.xibuild17
1 files changed, 17 insertions, 0 deletions
diff --git a/repo/util/acpi/acpi.xibuild b/repo/util/acpi/acpi.xibuild
new file mode 100644
index 0000000..6e40c3a
--- /dev/null
+++ b/repo/util/acpi/acpi.xibuild
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+MAKEDEPS="make"
+DEPS="musl acpid"
+
+PKG_VER=1.7
+SOURCE=https://downloads.sourceforge.net/acpiclient/acpi-$PKG_VER.tar.gz
+DESC="Client for battery, power, and thermal readings"
+
+build () {
+ ./configure --prefix=/usr
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}