summaryrefslogtreecommitdiffstats
path: root/meta/packages/acpid
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/acpid')
-rw-r--r--meta/packages/acpid/acpid.inc25
-rwxr-xr-xmeta/packages/acpid/acpid/init26
-rw-r--r--meta/packages/acpid/acpid_1.0.6.bb3
3 files changed, 0 insertions, 54 deletions
diff --git a/meta/packages/acpid/acpid.inc b/meta/packages/acpid/acpid.inc
deleted file mode 100644
index 8ac523d19a..0000000000
--- a/meta/packages/acpid/acpid.inc
+++ /dev/null
@@ -1,25 +0,0 @@
1SECTION = "base"
2DESCRIPTION = "A daemon for delivering ACPI events."
3LICENSE="GPL"
4
5SRC_URI = "${SOURCEFORGE_MIRROR}/acpid/acpid-${PV}.tar.gz \
6 file://init"
7
8inherit update-rc.d
9
10INITSCRIPT_NAME = "acpid"
11INITSCRIPT_PARAMS = "defaults"
12
13EXTRA_OEMAKE = ""
14
15do_compile () {
16 oe_runmake 'CC=${CC} -D_GNU_SOURCE' 'CROSS=${HOST_PREFIX}'
17}
18
19do_install () {
20 install -d ${D}${bindir}
21 oe_runmake 'INSTPREFIX=${D}' install
22 install -d ${D}${sysconfdir}/init.d
23 cat ${WORKDIR}/init | sed -e's,/usr/sbin,${sbindir},g' > ${D}${sysconfdir}/init.d/acpid
24 chmod 755 ${D}${sysconfdir}/init.d/acpid
25}
diff --git a/meta/packages/acpid/acpid/init b/meta/packages/acpid/acpid/init
deleted file mode 100755
index ef08b59596..0000000000
--- a/meta/packages/acpid/acpid/init
+++ /dev/null
@@ -1,26 +0,0 @@
1#! /bin/sh -e
2
3test -x /usr/sbin/acpid || exit 0
4test -d /proc/acpi || exit 0
5
6case "$1" in
7 start)
8 echo -n "Starting Advanced Configuration and Power Interface daemon: "
9 start-stop-daemon -S -x /usr/sbin/acpid -- -c /etc/acpi/events
10 echo "acpid."
11 ;;
12 stop)
13 echo -n "Stopping Advanced Configuration and Power Interface daemon: "
14 start-stop-daemon -K -x /usr/sbin/acpid
15 echo "acpid."
16 ;;
17 restart|force-reload)
18 $0 stop
19 $0 start
20 ;;
21 *)
22 echo "Usage: /etc/init.d/acpid {start|stop|restart|force-reload}"
23 exit 1
24esac
25
26exit 0
diff --git a/meta/packages/acpid/acpid_1.0.6.bb b/meta/packages/acpid/acpid_1.0.6.bb
deleted file mode 100644
index 364aa8200b..0000000000
--- a/meta/packages/acpid/acpid_1.0.6.bb
+++ /dev/null
@@ -1,3 +0,0 @@
1require acpid.inc
2
3PR = "r5"