summaryrefslogtreecommitdiffstats
path: root/recipes/ipaq-sleep
diff options
context:
space:
mode:
authorSebastian Spaeth <Sebastian@SSpaeth.de>2009-12-04 08:17:55 +0100
committerSebastian Spaeth <Sebastian@SSpaeth.de>2009-12-04 08:17:55 +0100
commit49d5f70658ab0386bee5869656d0405a6d416e35 (patch)
treeeb05cb5f3f5f6dcb3510032d1e8843823660d04a /recipes/ipaq-sleep
parenta5f31b42d1dbdeb252b73cf0dd260d94de8bb4e9 (diff)
downloadopenembedded-49d5f70658ab0386bee5869656d0405a6d416e35.tar.gz
task-base: Introduce DISTRO_apm and convert recipes to use it.
* This allows distros to override the apm provider with an DISTRO_apm variable * The change should be transparent and invisible for other distros * This could also be done with a virtual/apm package, and a PREFERED_PROVIDER set to apm Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Diffstat (limited to 'recipes/ipaq-sleep')
-rw-r--r--recipes/ipaq-sleep/ipaq-sleep_0.9.bb5
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes/ipaq-sleep/ipaq-sleep_0.9.bb b/recipes/ipaq-sleep/ipaq-sleep_0.9.bb
index 24d881dd05..6c37b73e8e 100644
--- a/recipes/ipaq-sleep/ipaq-sleep_0.9.bb
+++ b/recipes/ipaq-sleep/ipaq-sleep_0.9.bb
@@ -2,8 +2,9 @@ DESCRIPTION = "Automatic sleep/suspend control daemon"
SECTION = "x11/base"
LICENSE = "GPL"
DEPENDS = "apmd virtual/xserver libxext virtual/libx11 libxau xscrnsaverh libxss"
-RDEPENDS = "apm"
-PR = "r6"
+DISTRO_apm ?= "apm"
+RDEPENDS = "${DISTRO_apm}"
+PR = "r7"
inherit gpe pkgconfig