aboutsummaryrefslogtreecommitdiff
path: root/extra/acpid/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/acpid/build')
-rwxr-xr-xextra/acpid/build10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/acpid/build b/extra/acpid/build
new file mode 100755
index 00000000..d495e64d
--- /dev/null
+++ b/extra/acpid/build
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+
+./configure --prefix=/usr --sbindir=/usr/bin
+
+make
+make DESTDIR="$1" install
+mkdir -p "$1/etc/acpi/events"
+
+install -Dm755 run "$1/etc/sv/acpid/run"
+ln -s /run/runit/supervise.acpid "$1/etc/sv/acpid/supervise"