aboutsummaryrefslogtreecommitdiff
path: root/extra/acpid
diff options
context:
space:
mode:
Diffstat (limited to 'extra/acpid')
-rwxr-xr-xextra/acpid/build10
-rw-r--r--extra/acpid/checksums2
-rw-r--r--extra/acpid/files/run2
-rw-r--r--extra/acpid/sources2
-rw-r--r--extra/acpid/version1
5 files changed, 17 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"
diff --git a/extra/acpid/checksums b/extra/acpid/checksums
new file mode 100644
index 00000000..9041617e
--- /dev/null
+++ b/extra/acpid/checksums
@@ -0,0 +1,2 @@
+f2d2d30b3edc3234bd82f6f7186699a6aa3c85c8d20bc4e30e9b3c68a1ed157e acpid-2.0.32.tar.xz
+ebd61afac770d3d9cae5c411f44002496fb18b28cf7b77520072a3909852246e run
diff --git a/extra/acpid/files/run b/extra/acpid/files/run
new file mode 100644
index 00000000..5baf800e
--- /dev/null
+++ b/extra/acpid/files/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec acpid -f
diff --git a/extra/acpid/sources b/extra/acpid/sources
new file mode 100644
index 00000000..d3781b60
--- /dev/null
+++ b/extra/acpid/sources
@@ -0,0 +1,2 @@
+https://downloads.sourceforge.net/acpid2/acpid-2.0.32.tar.xz
+files/run
diff --git a/extra/acpid/version b/extra/acpid/version
new file mode 100644
index 00000000..df3fe758
--- /dev/null
+++ b/extra/acpid/version
@@ -0,0 +1 @@
+2.0.32 1