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-3.1.4.ebuild
Date: Sun, 23 Aug 2009 09:35:39
Message-Id: E1Mf9U8-0004zK-Mx@stork.gentoo.org
1 vapier 09/08/23 09:35:36
2
3 Modified: ChangeLog
4 Added: pciutils-3.1.4.ebuild
5 Log:
6 Version bump #276540 by Lars Wendler.
7 (Portage version: 2.2_rc38/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.165 sys-apps/pciutils/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/ChangeLog?rev=1.165&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/ChangeLog?rev=1.165&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/ChangeLog?r1=1.164&r2=1.165
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v
19 retrieving revision 1.164
20 retrieving revision 1.165
21 diff -u -r1.164 -r1.165
22 --- ChangeLog 5 Apr 2009 03:21:42 -0000 1.164
23 +++ ChangeLog 23 Aug 2009 09:35:36 -0000 1.165
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sys-apps/pciutils
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.164 2009/04/05 03:21:42 vapier Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.165 2009/08/23 09:35:36 vapier Exp $
29 +
30 +*pciutils-3.1.4 (23 Aug 2009)
31 +
32 + 23 Aug 2009; Mike Frysinger <vapier@g.o> +pciutils-3.1.4.ebuild:
33 + Version bump #276540 by Lars Wendler.
34
35 05 Apr 2009; Mike Frysinger <vapier@g.o>
36 files/pciutils-2.2.7-update-pciids-both-forms.patch:
37
38
39
40 1.1 sys-apps/pciutils/pciutils-3.1.4.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/pciutils-3.1.4.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/pciutils-3.1.4.ebuild?rev=1.1&content-type=text/plain
44
45 Index: pciutils-3.1.4.ebuild
46 ===================================================================
47 # Copyright 1999-2009 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-3.1.4.ebuild,v 1.1 2009/08/23 09:35:36 vapier Exp $
50
51 inherit eutils 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-update-pciids-both-forms.patch
68 sed -i -e "/^LIBDIR=/s:/lib:/$(get_libdir):" Makefile
69 }
70
71 uyesno() { use $1 && echo yes || echo no ; }
72 pemake() {
73 emake \
74 HOST="${CHOST}" \
75 CROSS_COMPILE="${CHOST}-" \
76 DNS="yes" \
77 IDSDIR="/usr/share/misc" \
78 MANDIR="/usr/share/man" \
79 PREFIX="/usr" \
80 SHARED="yes" \
81 STRIP="" \
82 ZLIB=$(uyesno zlib) \
83 "$@"
84 }
85
86 src_compile() {
87 pemake OPT="${CFLAGS}" all || die
88 }
89
90 src_install() {
91 pemake DESTDIR="${D}" install || die
92 dodoc ChangeLog README TODO
93
94 if use network-cron ; then
95 exeinto /etc/cron.monthly
96 newexe "${FILESDIR}"/pciutils.cron update-pciids \
97 || die "Failed to install update cronjob"
98 fi
99
100 # Install both forms until HAL has migrated
101 if use zlib ; then
102 local sharedir="${D}/usr/share/misc"
103 elog "Providing a backwards compatibility non-compressed pci.ids"
104 gzip -d <"${sharedir}"/pci.ids.gz >"${sharedir}"/pci.ids
105 fi
106
107 newinitd "${FILESDIR}"/init.d-pciparm pciparm
108 newconfd "${FILESDIR}"/conf.d-pciparm pciparm
109 }
110
111 pkg_postinst() {
112 elog "The 'pcimodules' program has been replaced by 'lspci -k'"
113 }