diff options
Diffstat (limited to 'meta/packages/pciutils/pciutils_3.0.3.bb')
-rw-r--r-- | meta/packages/pciutils/pciutils_3.0.3.bb | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/packages/pciutils/pciutils_3.0.3.bb b/meta/packages/pciutils/pciutils_3.0.3.bb new file mode 100644 index 0000000000..ce683a152a --- /dev/null +++ b/meta/packages/pciutils/pciutils_3.0.3.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | DESCRIPTION = 'The PCI Utilities package contains a library for portable access \ | ||
2 | to PCI bus configuration space and several utilities based on this library.' | ||
3 | DESCRIPTION_pciutils-ids = 'The list of PCI IDs for pciutils' | ||
4 | SECTION = "console/utils" | ||
5 | HOMEPAGE = "http://atrey.karlin.mff.cuni.cz/~mj/pciutils.shtml" | ||
6 | LICENSE = "GPLv2" | ||
7 | DEPENDS = "zlib" | ||
8 | |||
9 | SRC_URI = "ftp://ftp.kernel.org/pub/software/utils/pciutils/pciutils-${PV}.tar.bz2 \ | ||
10 | file://configure.patch;patch=1 \ | ||
11 | file://pcimodules-pciutils.diff;patch=1" | ||
12 | |||
13 | PARALLEL_MAKE = "" | ||
14 | |||
15 | do_configure () { | ||
16 | (cd lib && ./configure ${datadir} ${PV} ${TARGET_OS} 2.4.21 ${TARGET_ARCH}) | ||
17 | } | ||
18 | |||
19 | export PREFIX = "${D}${prefix}" | ||
20 | export SBINDIR = "${D}${sbindir}" | ||
21 | export SHAREDIR = "${D}${datadir}" | ||
22 | export MANDIR = "${D}${mandir}" | ||
23 | |||
24 | LDFLAGS += "-lz" | ||
25 | |||
26 | do_install () { | ||
27 | oe_runmake install | ||
28 | } | ||
29 | do_install_append () { | ||
30 | install -d ${D}/${prefix}/share | ||
31 | install -m 6440 ${WORKDIR}/${PN}-${PV}/pci.ids ${D}/${prefix}/share | ||
32 | } | ||
33 | |||
34 | PACKAGES =+ "pciutils-ids" | ||
35 | FILES_pciutils-ids="${prefix}/share/pci.ids" | ||