diff options
Diffstat (limited to 'meta/packages/acpid')
-rw-r--r-- | meta/packages/acpid/acpid.inc | 25 | ||||
-rwxr-xr-x | meta/packages/acpid/acpid/init | 26 | ||||
-rw-r--r-- | meta/packages/acpid/acpid_1.0.6.bb | 3 |
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 @@ | |||
1 | SECTION = "base" | ||
2 | DESCRIPTION = "A daemon for delivering ACPI events." | ||
3 | LICENSE="GPL" | ||
4 | |||
5 | SRC_URI = "${SOURCEFORGE_MIRROR}/acpid/acpid-${PV}.tar.gz \ | ||
6 | file://init" | ||
7 | |||
8 | inherit update-rc.d | ||
9 | |||
10 | INITSCRIPT_NAME = "acpid" | ||
11 | INITSCRIPT_PARAMS = "defaults" | ||
12 | |||
13 | EXTRA_OEMAKE = "" | ||
14 | |||
15 | do_compile () { | ||
16 | oe_runmake 'CC=${CC} -D_GNU_SOURCE' 'CROSS=${HOST_PREFIX}' | ||
17 | } | ||
18 | |||
19 | do_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 | |||
3 | test -x /usr/sbin/acpid || exit 0 | ||
4 | test -d /proc/acpi || exit 0 | ||
5 | |||
6 | case "$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 | ||
24 | esac | ||
25 | |||
26 | exit 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 @@ | |||
1 | require acpid.inc | ||
2 | |||
3 | PR = "r5" | ||