1 SECTION = "console/utils"
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.'
4 DESCRIPTION_pciutils-ids = 'The list of PCI IDs for pciutils'
5 HOMEPAGE = "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml"
11 FILES_pciutils-ids="${prefix}/share/pci.ids"
12 PACKAGES =+ "pciutils-ids"
13 SRC_URI = "ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-${PV}.tar.bz2 \
14 file://configure.patch;patch=1 \
15 file://configure-uclibc.patch;patch=1 \
16 file://pcimodules-pciutils-2.1.11.diff;patch=1"
19 (cd lib && ./configure ${datadir} ${PV} ${TARGET_OS} 2.4.21 ${TARGET_ARCH})
22 export PREFIX = "${D}${prefix}"
23 export SBINDIR = "${D}${sbindir}"
24 export SHAREDIR = "${D}${datadir}"
25 export MANDIR = "${D}${mandir}"
30 do_install_append () {
31 install -d ${D}/${prefix}/share
32 install -m 6440 ${WORKDIR}/${PN}-${PV}/pci.ids ${D}/${prefix}/share