diff options
author | Qing He <qing.he@intel.com> | 2010-07-30 16:22:49 +0800 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-10 15:31:19 +0100 |
commit | c33529794a541a617dc9c291b57acae55dd50af6 (patch) | |
tree | 5fb3a43f42b5112c66292b62a3aefee559328103 /meta/packages/pciutils/pciutils_3.0.3.bb | |
parent | 650319cd749f0d00c9e371cd7ea429b8e250357b (diff) | |
download | poky-c33529794a541a617dc9c291b57acae55dd50af6.tar.gz |
pciutils: upgrade to version 3.1.5
from 3.0.3
changes:
- rebased patch configure.patch and pcimodules-pciutils.diff
- fix a bug in parameter order in config that causes invalid
search path and library version
- remove unnecessary kernel version reference in configure
- use DESTDIR mechanism for build and installation
- pciutils should RDEPENDS on pciutils-ids
- enable shared library build and package a new package series,
libpci
- conceive a new patch to fix shared library build, default build
would embedd invalid library dependencies
- add another patch to fix build on arm
- fix a bug in previous do_install_depends that used invalid
installation mode
- symbolic link /usr/sbin/pciutils to /usr/bin, so non-root user
can use it as well
Signed-off-by: Qing He <qing.he@intel.com>
Diffstat (limited to 'meta/packages/pciutils/pciutils_3.0.3.bb')
-rw-r--r-- | meta/packages/pciutils/pciutils_3.0.3.bb | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/meta/packages/pciutils/pciutils_3.0.3.bb b/meta/packages/pciutils/pciutils_3.0.3.bb deleted file mode 100644 index a05a69b61a..0000000000 --- a/meta/packages/pciutils/pciutils_3.0.3.bb +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
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 | # The configure script breaks if the HOST variable is set | ||
27 | HOST[unexport] = "1" | ||
28 | |||
29 | do_install () { | ||
30 | oe_runmake install | ||
31 | } | ||
32 | do_install_append () { | ||
33 | install -d ${D}/${prefix}/share | ||
34 | install -m 6440 ${WORKDIR}/${PN}-${PV}/pci.ids ${D}/${prefix}/share | ||
35 | } | ||
36 | |||
37 | PACKAGES =+ "pciutils-ids" | ||
38 | FILES_pciutils-ids="${prefix}/share/pci.ids" | ||