Add pci.ids, in a separate package
authorOyvind Repvik <nail@nslu2-linux.org>
Tue, 23 Aug 2005 14:55:53 +0000 (14:55 +0000)
committerOpenEmbedded Project <openembedded-devel@lists.openembedded.org>
Tue, 23 Aug 2005 14:55:53 +0000 (14:55 +0000)
packages/pciutils/pciutils_2.1.11.bb

index 792b34f..98d5f55 100644 (file)
@@ -4,10 +4,11 @@ to PCI bus configuration space and several utilities based on this library.'
 HOMEPAGE = "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml"
 LICENSE = "GPLv2"
 
-PR="r1"
+PR="r2"
 
 PARALLEL_MAKE = ""
-
+FILES_pciutils-ids="${prefix}/share/pci.ids"
+PACKAGES =+ "pciutils-ids"
 SRC_URI = "ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-${PV}.tar.bz2 \
           file://configure.patch;patch=1 \
           file://configure-uclibc.patch;patch=1 \
@@ -25,3 +26,8 @@ export MANDIR = "${D}${mandir}"
 do_install () {
        oe_runmake install
 }
+do_install_append () {
+       install -d ${D}/${prefix}/share
+       install -m 6440 ${WORKDIR}/${PN}-${PV}/pci.ids ${D}/${prefix}/share
+}
+