Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-apps/pciutils: ChangeLog pciutils-2.2.9.ebuild
Date: Sat, 29 Dec 2007 17:09:05
Message-Id: E1J8erI-0003cE-Na@stork.gentoo.org
1 vapier 07/12/29 16:48:24
2
3 Modified: ChangeLog
4 Added: pciutils-2.2.9.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.4_rc11)
8
9 Revision Changes Path
10 1.124 sys-apps/pciutils/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/ChangeLog?rev=1.124&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/ChangeLog?rev=1.124&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/ChangeLog?r1=1.123&r2=1.124
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v
19 retrieving revision 1.123
20 retrieving revision 1.124
21 diff -u -r1.123 -r1.124
22 --- ChangeLog 7 Dec 2007 22:04:16 -0000 1.123
23 +++ ChangeLog 29 Dec 2007 16:48:24 -0000 1.124
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-apps/pciutils
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.123 2007/12/07 22:04:16 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.124 2007/12/29 16:48:24 vapier Exp $
29 +
30 +*pciutils-2.2.9 (29 Dec 2007)
31 +
32 + 29 Dec 2007; Mike Frysinger <vapier@g.o> +pciutils-2.2.9.ebuild:
33 + Version bump.
34
35 07 Dec 2007; Raúl Porcel <armin76@g.o> pciutils-2.2.8.ebuild:
36 alpha/ia64/sparc/x86 stable
37
38
39
40 1.1 sys-apps/pciutils/pciutils-2.2.9.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/pciutils-2.2.9.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/pciutils-2.2.9.ebuild?rev=1.1&content-type=text/plain
44
45 Index: pciutils-2.2.9.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-2.2.9.ebuild,v 1.1 2007/12/29 16:48:24 vapier Exp $
50
51 inherit eutils flag-o-matic toolchain-funcs multilib
52
53 DESCRIPTION="Various utilities dealing with the PCI bus"
54 HOMEPAGE="http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html"
55 SRC_URI="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${P}.tar.gz"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
60 IUSE="network-cron zlib"
61
62 DEPEND="zlib? ( sys-libs/zlib )"
63
64 src_unpack() {
65 unpack ${A}
66 cd "${S}"
67 epatch "${FILESDIR}"/${PN}-2.2.7-build.patch
68 epatch "${FILESDIR}"/pcimodules-${PN}-2.2.6.patch
69 epatch "${FILESDIR}"/${PN}-2.2.4-update-pciids.patch
70 epatch "${FILESDIR}"/${PN}-2.2.7-update-pciids-both-forms.patch
71 sed -i "/^LIBDIR=/s:/lib:/$(get_libdir):" Makefile
72 }
73
74 src_compile() {
75 export ZLIB=$(use zlib && echo yes || echo no)
76 tc-export AR CC RANLIB
77 emake OPT="${CFLAGS}" || die "emake failed"
78 }
79
80 src_install() {
81 emake install install-lib DESTDIR="${D}" || die
82
83 if use network-cron ; then
84 exeinto /etc/cron.monthly
85 newexe "${FILESDIR}"/pciutils.cron update-pciids \
86 || die "Failed to install update cronjob"
87 fi
88
89 # Install both forms until HAL has migrated
90 if use zlib ; then
91 local sharedir="${D}/usr/share/misc"
92 elog "Providing a backwards compatability non-compressed pci.ids"
93 gzip -d <"${sharedir}"/pci.ids.gz >"${sharedir}"/pci.ids
94 fi
95 }
96
97
98
99 --
100 gentoo-commits@g.o mailing list