From f8ca66bdb7fff028d9826b79afb9265f235735f2 Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Fri, 29 Jun 2007 07:34:11 +0000 Subject: pciutils: added 2.2.4 from OE git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2054 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/pciutils/pciutils_2.2.4.bb | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 meta/packages/pciutils/pciutils_2.2.4.bb (limited to 'meta/packages/pciutils/pciutils_2.2.4.bb') diff --git a/meta/packages/pciutils/pciutils_2.2.4.bb b/meta/packages/pciutils/pciutils_2.2.4.bb new file mode 100644 index 000000000..0cd335eb3 --- /dev/null +++ b/meta/packages/pciutils/pciutils_2.2.4.bb @@ -0,0 +1,38 @@ +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' +SECTION = "console/utils" +HOMEPAGE = "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml" +LICENSE = "GPLv2" +DEPENDS = "zlib" + +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 \ + file://pcimodules-pciutils.diff;patch=1" + +PARALLEL_MAKE = "" + +PR="r1" + +do_configure () { + (cd lib && ./configure ${datadir} ${PV} ${TARGET_OS} 2.4.21 ${TARGET_ARCH}) +} + +export PREFIX = "${D}${prefix}" +export SBINDIR = "${D}${sbindir}" +export SHAREDIR = "${D}${datadir}" +export MANDIR = "${D}${mandir}" + +LDFLAGS += "-lz" + +do_install () { + oe_runmake install +} +do_install_append () { + install -d ${D}/${prefix}/share + install -m 6440 ${WORKDIR}/${PN}-${PV}/pci.ids ${D}/${prefix}/share +} + +PACKAGES =+ "pciutils-ids" +FILES_pciutils-ids="${prefix}/share/pci.ids" -- cgit v1.2.3