summaryrefslogtreecommitdiff
path: root/packages/acpid/acpid_1.0.3.bb
diff options
context:
space:
mode:
authorRolf Leggewie <oe-devel@rolf.leggewie.biz>2006-12-16 13:08:03 +0000
committerRolf Leggewie <oe-devel@rolf.leggewie.biz>2006-12-16 13:08:03 +0000
commit1a6da1c53201f1ecb158a57e54afb16fa48e2528 (patch)
tree87ca390e48f41ba45e9cfb56feefde3077ef7453 /packages/acpid/acpid_1.0.3.bb
parentd8ca2edd0012372582b85d6b3f53962b5dd357b5 (diff)
acpid: unify recipes
Diffstat (limited to 'packages/acpid/acpid_1.0.3.bb')
-rw-r--r--packages/acpid/acpid_1.0.3.bb35
1 files changed, 2 insertions, 33 deletions
diff --git a/packages/acpid/acpid_1.0.3.bb b/packages/acpid/acpid_1.0.3.bb
index 4ce3878785..596ef49452 100644
--- a/packages/acpid/acpid_1.0.3.bb
+++ b/packages/acpid/acpid_1.0.3.bb
@@ -1,33 +1,2 @@
-SECTION = "base"
-DESCRIPTION = "A daemon for delivering ACPI events."
-LICENSE="GPL"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/acpid/acpid-${PV}.tar.gz \
- file://gcc40.patch;patch=1 \
- file://init"
-
-EXTRA_OEMAKE = ""
-do_compile () {
- oe_runmake 'CC=${CC}' 'CROSS=${HOST_PREFIX}'
-}
-
-do_install () {
- oe_runmake 'INSTPREFIX=${D}' install
- install -d ${D}${sysconfdir}/init.d
- cat ${WORKDIR}/init | sed -e's,/usr/sbin,${sbindir},g' > ${D}${sysconfdir}/init.d/acpid
- chmod 755 ${D}${sysconfdir}/init.d/acpid
-}
-
-pkg_postinst () {
- if test -n "${D}"; then
- D="-r $D"
- fi
- update-rc.d $D acpid defaults
-}
-
-pkg_prerm () {
- if test -n "${D}"; then
- D="-r $D"
- fi
- update-rc.d $D acpid remove
-}
+require acpid.inc
+SRC_URI += "file://gcc40.patch;patch=1"