diff options
Diffstat (limited to 'meta/recipes-bsp/acpid/acpid.inc')
| -rw-r--r-- | meta/recipes-bsp/acpid/acpid.inc | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/meta/recipes-bsp/acpid/acpid.inc b/meta/recipes-bsp/acpid/acpid.inc deleted file mode 100644 index ba954563b6..0000000000 --- a/meta/recipes-bsp/acpid/acpid.inc +++ /dev/null | |||
| @@ -1,40 +0,0 @@ | |||
| 1 | SUMMARY = "A daemon for delivering ACPI events" | ||
| 2 | DESCRIPTION = "ACPID is a completely flexible, totally extensible daemon for \ | ||
| 3 | delivering ACPI events. It listens on netlink interface (or on the \ | ||
| 4 | deprecated file /proc/acpi/event), and when an event occurs, executes programs \ | ||
| 5 | to handle the event. The programs it executes are configured through a set of \ | ||
| 6 | configuration files, which can be dropped into place by packages or by the \ | ||
| 7 | admin." | ||
| 8 | HOMEPAGE = "http://sourceforge.net/projects/acpid2" | ||
| 9 | BUGTRACKER = "http://sourceforge.net/p/acpid2/tickets/?source=navbar" | ||
| 10 | SECTION = "base" | ||
| 11 | LICENSE = "GPL-2.0-or-later" | ||
| 12 | |||
| 13 | SOURCEFORGE_PROJECT = "acpid2" | ||
| 14 | SRC_URI = "${SOURCEFORGE_MIRROR}/${SOURCEFORGE_PROJECT}/acpid-${PV}.tar.xz \ | ||
| 15 | file://init \ | ||
| 16 | file://acpid.service \ | ||
| 17 | file://0001-Replace-stat64-with-stat.patch \ | ||
| 18 | " | ||
| 19 | |||
| 20 | CVE_PRODUCT = "acpid2" | ||
| 21 | |||
| 22 | inherit autotools update-rc.d systemd sourceforge-releases | ||
| 23 | |||
| 24 | INITSCRIPT_NAME = "acpid" | ||
| 25 | INITSCRIPT_PARAMS = "defaults" | ||
| 26 | |||
| 27 | SYSTEMD_SERVICE:${PN} = "acpid.service" | ||
| 28 | |||
| 29 | do_install:append () { | ||
| 30 | install -d ${D}${sysconfdir}/init.d | ||
| 31 | sed -e 's,/usr/sbin,${sbindir},g' ${UNPACKDIR}/init > ${D}${sysconfdir}/init.d/acpid | ||
| 32 | chmod 755 ${D}${sysconfdir}/init.d/acpid | ||
| 33 | |||
| 34 | install -d ${D}${sysconfdir}/acpi | ||
| 35 | install -d ${D}${sysconfdir}/acpi/events | ||
| 36 | |||
| 37 | install -d ${D}${systemd_system_unitdir} | ||
| 38 | install -m 0644 ${UNPACKDIR}/acpid.service ${D}${systemd_system_unitdir} | ||
| 39 | sed -i -e 's,@SBINDIR@,${sbindir},g' ${D}${systemd_system_unitdir}/acpid.service | ||
| 40 | } | ||
