summaryrefslogtreecommitdiff
path: root/packages/pciutils/pciutils_2.1.11.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/pciutils/pciutils_2.1.11.bb')
-rw-r--r--packages/pciutils/pciutils_2.1.11.bb11
1 files changed, 9 insertions, 2 deletions
diff --git a/packages/pciutils/pciutils_2.1.11.bb b/packages/pciutils/pciutils_2.1.11.bb
index 792b34fda7..ce9979ca91 100644
--- a/packages/pciutils/pciutils_2.1.11.bb
+++ b/packages/pciutils/pciutils_2.1.11.bb
@@ -1,13 +1,15 @@
SECTION = "console/utils"
DESCRIPTION = 'The PCI Utilities package contains a library for portable access \
to PCI bus configuration space and several utilities based on this library.'
+DESCRIPTION_pciutils-ids = 'The list of PCI IDs for pciutils'
HOMEPAGE = "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml"
LICENSE = "GPLv2"
-PR="r1"
+PR="r3"
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 +27,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
+}
+