usbutils: Move the pkgconfig file(s) to the -dev package
authorMark Hatle <mark.hatle@windriver.com>
Thu, 22 Sep 2011 01:47:01 +0000 (20:47 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 22 Sep 2011 04:06:58 +0000 (05:06 +0100)
pkgconfig files belong in the -dev package.  They automatically add
a runtime dependency (when packaging with RPM) for "pkgconfig", which
is not desired to be installed with this package.

(From OE-Core rev: 79cd09017693e0fd1634ea9748c797fcec4dac14)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-bsp/usbutils/usbutils_0.91.bb

index c5420d0..490b05a 100644 (file)
@@ -7,7 +7,7 @@ LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
 DEPENDS = "libusb zlib"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = "${KERNELORG_MIRROR}/linux/utils/usb/usbutils/usbutils-${PV}.tar.gz"
 
@@ -23,7 +23,7 @@ do_install_append() {
 }
 
 PACKAGES += "${PN}-ids"
-FILES_${PN} += "${datadir}/pkgconfig"
+FILES_${PN}-dev += "${datadir}/pkgconfig"
 FILES_${PN}-ids = "${datadir}/usb*"
 
 RDEPENDS_${PN} = "${PN}-ids bash"