diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2013-12-22 13:52:53 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-01-02 12:50:25 +0000 |
commit | 8ae3f2293f4bd60182d8a710af68c52f1610c665 (patch) | |
tree | 438996ece5be065c8215fbd554b8a442de61be5e /meta | |
parent | 16a4390b1271e7f5ab8e574cf92e4ca93fa185c3 (diff) | |
download | poky-8ae3f2293f4bd60182d8a710af68c52f1610c665.tar.gz |
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
(From OE-Core rev: c8c39c78878cdffe47b376b6211dd1ae45fd59d2)
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-bsp/pciutils/pciutils_3.2.1.bb | 11 |
1 files changed, 6 insertions, 5 deletions
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 @@ | |||
1 | SUMMARY = "PCI Utilities" | 1 | SUMMARY = "PCI utilities" |
2 | DESCRIPTION = 'The PCI Utilities package contains a library for portable access \ | 2 | DESCRIPTION = 'The PCI Utilities package contains a library for portable access \ |
3 | to PCI bus configuration space and several utilities based on this library.' | 3 | to PCI bus configuration space and several utilities based on this library.' |
4 | DESCRIPTION_pciutils-ids = 'The list of PCI IDs for pciutils' | ||
5 | HOMEPAGE = "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml" | 4 | HOMEPAGE = "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml" |
6 | SECTION = "console/utils" | 5 | SECTION = "console/utils" |
7 | 6 | ||
8 | LICENSE = "GPLv2+" | 7 | LICENSE = "GPLv2+" |
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
10 | DEPENDS = "zlib kmod" | 9 | DEPENDS = "zlib kmod" |
11 | RDEPENDS_${PN} = "${PN}-ids" | ||
12 | 10 | ||
13 | SRC_URI = "${KERNELORG_MIRROR}/software/utils/pciutils/pciutils-${PV}.tar.bz2 \ | 11 | SRC_URI = "${KERNELORG_MIRROR}/software/utils/pciutils/pciutils-${PV}.tar.bz2 \ |
14 | file://configure.patch \ | 12 | file://configure.patch \ |
@@ -53,9 +51,12 @@ do_install () { | |||
53 | ln -s ../sbin/lspci ${D}${bindir}/lspci | 51 | ln -s ../sbin/lspci ${D}${bindir}/lspci |
54 | } | 52 | } |
55 | 53 | ||
56 | PACKAGES =+ "pciutils-ids libpci libpci-dev libpci-dbg" | 54 | PACKAGES =+ "${PN}-ids libpci libpci-dev libpci-dbg" |
57 | FILES_pciutils-ids = "${datadir}/pci.ids*" | 55 | FILES_${PN}-ids = "${datadir}/pci.ids*" |
58 | FILES_libpci = "${libdir}/libpci.so.*" | 56 | FILES_libpci = "${libdir}/libpci.so.*" |
59 | FILES_libpci-dbg = "${libdir}/.debug" | 57 | FILES_libpci-dbg = "${libdir}/.debug" |
60 | FILES_libpci-dev = "${libdir}/libpci.a ${libdir}/libpci.la ${libdir}/libpci.so \ | 58 | FILES_libpci-dev = "${libdir}/libpci.a ${libdir}/libpci.la ${libdir}/libpci.so \ |
61 | ${includedir}/pci ${libdir}/pkgconfig" | 59 | ${includedir}/pci ${libdir}/pkgconfig" |
60 | SUMMARY_${PN}-ids = "PCI utilities - device ID database" | ||
61 | DESCRIPTION_${PN}-ids = "Package providing the PCI device ID database for pciutils." | ||
62 | RDEPENDS_${PN} += "${PN}-ids" | ||