summaryrefslogtreecommitdiff
path: root/repo/laptop-mode-tools/laptop-mode-tools.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-08-29 13:01:02 +0000
committerdavidovski <david@davidovski.xyz>2022-08-29 13:01:02 +0000
commitc38dfe6188112ca490090966a63faefe5ec7e9a0 (patch)
tree0b5cb4f2b5148784d852070317d90485ab31e122 /repo/laptop-mode-tools/laptop-mode-tools.xibuild
parent49fa1762a5c52ff2cf981f29a45e1797e3885bb4 (diff)
added snes9x and php
Diffstat (limited to 'repo/laptop-mode-tools/laptop-mode-tools.xibuild')
-rw-r--r--repo/laptop-mode-tools/laptop-mode-tools.xibuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/repo/laptop-mode-tools/laptop-mode-tools.xibuild b/repo/laptop-mode-tools/laptop-mode-tools.xibuild
new file mode 100644
index 0000000..b07e671
--- /dev/null
+++ b/repo/laptop-mode-tools/laptop-mode-tools.xibuild
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+NAME="laptop-mode-tools"
+DESC="Power Savings tool for Linux"
+
+MAKEDEPS="make sh"
+DEPS=""
+
+PKG_VER=1.74
+SOURCE="https://github.com/rickysarraf/laptop-mode-tools/releases/download/$PKG_VER/laptop-mode-tools_$PKG_VER.tar.gz"
+
+ADDITIONAL="laptop-mode.initd"
+
+package () {
+ DESTDIR="${PKG_DEST}" \
+ INIT_D="none" \
+ MAN_D="/usr/share/man" \
+ PMU="disabled" \
+ sh ./install.sh
+
+ install -Dm755 laptop-mode.initd /etc/init.d/laptop-mode
+}