aboutsummaryrefslogtreecommitdiffstats
path: root/apmd
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 /apmd
parent5df179157f90b18f437c6978efb451f515e3d1c9 (diff)
downloadopenembedded-2b8f679ffe5929b5a11eb71e514aa4997c36f13e.tar.gz
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 'apmd')
-rw-r--r--apmd/apmd_3.2.0.oe20
1 files changed, 11 insertions, 9 deletions
diff --git a/apmd/apmd_3.2.0.oe b/apmd/apmd_3.2.0.oe
index e48678742f..6eaa21806e 100644
--- a/apmd/apmd_3.2.0.oe
+++ b/apmd/apmd_3.2.0.oe
@@ -4,13 +4,15 @@ MAINTAINER = "Greg Gilbert <greg@treke.net>"
DEPENDS = "virtual/libc libtool-cross"
DESCRIPTION = "Set of tools for managing notebook power consumption."
-SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.orig.tar.gz;"
-SRC_URI_append =" file://${FILESDIR}/apmd_${PV}-3.diff;patch=1"
-SRC_URI_append =" file://${FILESDIR}/workaround.patch;patch=1"
-SRC_URI_append =" file://${FILESDIR}/conf.patch;patch=1"
-SRC_URI_append =" file://${FILESDIR}/proxy.patch;patch=1"
-SRC_URI_append =" file://${FILESDIR}/compile.patch;patch=1"
-SRC_URI_append =" file://${FILESDIR}/make.patch;patch=1"
+SRC_URI = "${DEBIAN_MIRROR}/main/a/apmd/apmd_${PV}.orig.tar.gz; \
+ file://apmwrapper \
+ file://init"
+SRC_URI_append =" file://apmd_${PV}-3.diff;patch=1"
+SRC_URI_append =" file://workaround.patch;patch=1"
+SRC_URI_append =" file://conf.patch;patch=1"
+SRC_URI_append =" file://proxy.patch;patch=1"
+SRC_URI_append =" file://compile.patch;patch=1"
+SRC_URI_append =" file://make.patch;patch=1"
S = "${WORKDIR}/apmd-${PV}.orig"
@@ -38,14 +40,14 @@ do_install() {
install -d ${D}/${libdir}
install -d ${D}/${datadir}/apmd
install -m 4755 ${S}/.libs/apm ${D}/${bindir}/apm.orig
- install -m 0755 ${FILESDIR}/apmwrapper ${D}/${bindir}/apm
+ install -m 0755 ${WORKDIR}/apmwrapper ${D}/${bindir}/apm
install -m 0755 ${S}/.libs/apmd ${D}/${sbindir}/apmd
install -m 0755 ${S}/debian/apmd_proxy ${D}/${sysconfdir}/apm/
install -m 0644 ${S}/debian/apmd_proxy.conf ${D}/${datadir}/apmd/
install -m 0644 ${S}/debian/apmd.default ${D}/${sysconfdir}/default/apmd
oe_libinstall -so libapm ${D}/${libdir}
- cat ${FILESDIR}/init | sed -e 's,/usr/sbin,${sbindir},g; s,/etc,${sysconfdir},g;' > ${D}/${sysconfdir}/init.d/apmd
+ cat ${WORKDIR}/init | sed -e 's,/usr/sbin,${sbindir},g; s,/etc,${sysconfdir},g;' > ${D}/${sysconfdir}/init.d/apmd
chmod 755 ${D}/${sysconfdir}/init.d/apmd
}