xpext: Fix -dev/-dbg package dependencies
authorRichard Purdie <richard@openedhand.com>
Thu, 10 Jan 2008 08:26:59 +0000 (08:26 +0000)
committerRichard Purdie <richard@openedhand.com>
Thu, 10 Jan 2008 08:26:59 +0000 (08:26 +0000)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3444 311d38ba-8fff-0310-9ca6-ca027cbcb966

meta/packages/maemo/xpext_1.0-5.bb

index 343db15..bfb2a04 100644 (file)
@@ -1,14 +1,18 @@
-PR = "r0"
-LICENSE= "MIT"
 DESCRIPTION = "X Server Nokia 770 extensions library"
+LICENSE= "MIT"
 SECTION = "x11/libs"
 PRIORITY = "optional"
 DEPENDS = "virtual/libx11 libxext"
+PR = "r1"
 
 SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/x/${PN}/${PN}_${PV}.tar.gz \
            file://auxdir.patch;patch=1;pnum=0"
 S = "${WORKDIR}/xpext-1.0"
 
+# ${PN} is empty so we need to tweak -dev and -dbg package dependencies
+RDEPENDS_${PN}-dev = ""
+RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${DEBPV})"
+
 inherit autotools pkgconfig
 
 do_configure_prepend () {