summaryrefslogtreecommitdiff
path: root/acpid
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2004-05-22 16:47:36 +0000
committerChris Larson <clarson@kergoth.com>2004-05-22 16:47:36 +0000
commit2b8f679ffe5929b5a11eb71e514aa4997c36f13e (patch)
treecab0f25aca03f6162bd268a401945fbfbb63bff9 /acpid
parent5df179157f90b18f437c6978efb451f515e3d1c9 (diff)
Merges.
2004/05/22 12:46:48-04:00 local!kergoth Bugfixes per the recent FILESDIR cleanup. 2004/05/22 01:03:38-04:00 local!kergoth Run a perl script against the repo to kill off direct FILESDIR usage in favor of relative file:// paths in SRC_URI, and WORKDIR references in functions. 2004/05/21 23:07:58-04:00 local!kergoth Switch file:// FILESDIR uris in SRC_URI to the new relative path format. BKrev: 40af8428aNyDLBX0MRtyso3VCpMv1w
Diffstat (limited to 'acpid')
-rw-r--r--acpid/acpid_1.0.2.oe5
-rw-r--r--acpid/acpid_1.0.3.oe5
2 files changed, 6 insertions, 4 deletions
diff --git a/acpid/acpid_1.0.2.oe b/acpid/acpid_1.0.2.oe
index 3744a0dd48..62e22cc73f 100644
--- a/acpid/acpid_1.0.2.oe
+++ b/acpid/acpid_1.0.2.oe
@@ -1,7 +1,8 @@
DEPENDS = "virtual/libc"
DESCRIPTION = "A daemon for delivering ACPI events."
-SRC_URI = "${SOURCEFORGE_MIRROR}/acpid/acpid-${PV}.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/acpid/acpid-${PV}.tar.gz \
+ file://init"
EXTRA_OEMAKE = ""
do_compile () {
@@ -11,7 +12,7 @@ do_compile () {
do_install () {
oe_runmake 'INSTPREFIX=${D}' install
install -d ${D}/${sysconfdir}/init.d
- cat ${FILESDIR}/init | sed -e's,/usr/sbin,${sbindir},g' > ${D}/${sysconfdir}/init.d/acpid
+ cat ${WORKDIR}/init | sed -e's,/usr/sbin,${sbindir},g' > ${D}/${sysconfdir}/init.d/acpid
chmod 755 ${D}/${sysconfdir}/init.d/acpid
}
diff --git a/acpid/acpid_1.0.3.oe b/acpid/acpid_1.0.3.oe
index 3744a0dd48..62e22cc73f 100644
--- a/acpid/acpid_1.0.3.oe
+++ b/acpid/acpid_1.0.3.oe
@@ -1,7 +1,8 @@
DEPENDS = "virtual/libc"
DESCRIPTION = "A daemon for delivering ACPI events."
-SRC_URI = "${SOURCEFORGE_MIRROR}/acpid/acpid-${PV}.tar.gz"
+SRC_URI = "${SOURCEFORGE_MIRROR}/acpid/acpid-${PV}.tar.gz \
+ file://init"
EXTRA_OEMAKE = ""
do_compile () {
@@ -11,7 +12,7 @@ do_compile () {
do_install () {
oe_runmake 'INSTPREFIX=${D}' install
install -d ${D}/${sysconfdir}/init.d
- cat ${FILESDIR}/init | sed -e's,/usr/sbin,${sbindir},g' > ${D}/${sysconfdir}/init.d/acpid
+ cat ${WORKDIR}/init | sed -e's,/usr/sbin,${sbindir},g' > ${D}/${sysconfdir}/init.d/acpid
chmod 755 ${D}/${sysconfdir}/init.d/acpid
}