From c8c39c78878cdffe47b376b6211dd1ae45fd59d2 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Sun, 22 Dec 2013 13:52:53 +0000 Subject: pciutils: tidy up recipe * Move package-specific defitions to the end * Define pciutils-ids package as ${PN}-ids * Add SUMMARY and tweak DESCRIPTION for pciutils-ids package Signed-off-by: Paul Eggleton --- meta/recipes-bsp/pciutils/pciutils_3.2.1.bb | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'meta/recipes-bsp') diff --git a/meta/recipes-bsp/pciutils/pciutils_3.2.1.bb b/meta/recipes-bsp/pciutils/pciutils_3.2.1.bb index 6d45d72b17..852a93e1b1 100644 --- a/meta/recipes-bsp/pciutils/pciutils_3.2.1.bb +++ b/meta/recipes-bsp/pciutils/pciutils_3.2.1.bb @@ -1,14 +1,12 @@ -SUMMARY = "PCI Utilities" +SUMMARY = "PCI utilities" 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" SECTION = "console/utils" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" DEPENDS = "zlib kmod" -RDEPENDS_${PN} = "${PN}-ids" SRC_URI = "${KERNELORG_MIRROR}/software/utils/pciutils/pciutils-${PV}.tar.bz2 \ file://configure.patch \ @@ -53,9 +51,12 @@ do_install () { ln -s ../sbin/lspci ${D}${bindir}/lspci } -PACKAGES =+ "pciutils-ids libpci libpci-dev libpci-dbg" -FILES_pciutils-ids = "${datadir}/pci.ids*" +PACKAGES =+ "${PN}-ids libpci libpci-dev libpci-dbg" +FILES_${PN}-ids = "${datadir}/pci.ids*" FILES_libpci = "${libdir}/libpci.so.*" FILES_libpci-dbg = "${libdir}/.debug" FILES_libpci-dev = "${libdir}/libpci.a ${libdir}/libpci.la ${libdir}/libpci.so \ ${includedir}/pci ${libdir}/pkgconfig" +SUMMARY_${PN}-ids = "PCI utilities - device ID database" +DESCRIPTION_${PN}-ids = "Package providing the PCI device ID database for pciutils." +RDEPENDS_${PN} += "${PN}-ids" -- cgit v1.2.3