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.7.ebuild |
Date: | Sat, 10 Apr 2010 19:28:58 |
Message-Id: | 20100410192855.B98942C04B@corvid.gentoo.org |
1 | vapier 10/04/10 19:28:55 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pciutils-3.1.7.ebuild |
5 | Log: |
6 | Version bump #314499 by Toffanin. |
7 | (Portage version: 2.2_rc67/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.175 sys-apps/pciutils/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/ChangeLog?rev=1.175&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/ChangeLog?rev=1.175&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/ChangeLog?r1=1.174&r2=1.175 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v |
19 | retrieving revision 1.174 |
20 | retrieving revision 1.175 |
21 | diff -u -r1.174 -r1.175 |
22 | --- ChangeLog 30 Jan 2010 18:36:57 -0000 1.174 |
23 | +++ ChangeLog 10 Apr 2010 19:28:55 -0000 1.175 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for sys-apps/pciutils |
26 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.174 2010/01/30 18:36:57 armin76 Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.175 2010/04/10 19:28:55 vapier Exp $ |
29 | + |
30 | +*pciutils-3.1.7 (10 Apr 2010) |
31 | + |
32 | + 10 Apr 2010; Mike Frysinger <vapier@g.o> +pciutils-3.1.7.ebuild, |
33 | + +files/pciutils-3.1.7-fbsd.patch, +files/pciutils-3.1.7-install-lib.patch: |
34 | + Version bump #314499 by Toffanin. |
35 | |
36 | 30 Jan 2010; Raúl Porcel <armin76@g.o> pciutils-3.1.4.ebuild: |
37 | sparc stable wrt #296772 |
38 | |
39 | |
40 | |
41 | 1.1 sys-apps/pciutils/pciutils-3.1.7.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/pciutils-3.1.7.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/pciutils-3.1.7.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: pciutils-3.1.7.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2010 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-3.1.7.ebuild,v 1.1 2010/04/10 19:28:55 vapier Exp $ |
51 | |
52 | EAPI="2" |
53 | |
54 | inherit eutils multilib toolchain-funcs |
55 | |
56 | DESCRIPTION="Various utilities dealing with the PCI bus" |
57 | HOMEPAGE="http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html" |
58 | SRC_URI="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${P}.tar.gz" |
59 | |
60 | LICENSE="GPL-2" |
61 | SLOT="0" |
62 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
63 | IUSE="network-cron zlib" |
64 | |
65 | DEPEND="zlib? ( sys-libs/zlib )" |
66 | |
67 | src_prepare() { |
68 | epatch "${FILESDIR}"/${P}-install-lib.patch #273489 |
69 | epatch "${FILESDIR}"/${P}-fbsd.patch #262321 |
70 | epatch "${FILESDIR}"/${PN}-2.2.7-update-pciids-both-forms.patch |
71 | sed -i -e "/^LIBDIR=/s:/lib:/$(get_libdir):" Makefile |
72 | } |
73 | |
74 | uyesno() { use $1 && echo yes || echo no ; } |
75 | pemake() { |
76 | emake \ |
77 | HOST="${CHOST}" \ |
78 | CROSS_COMPILE="${CHOST}-" \ |
79 | CC="$(tc-getCC)" \ |
80 | DNS="yes" \ |
81 | IDSDIR="/usr/share/misc" \ |
82 | MANDIR="/usr/share/man" \ |
83 | PREFIX="/usr" \ |
84 | SHARED="yes" \ |
85 | STRIP="" \ |
86 | ZLIB=$(uyesno zlib) \ |
87 | LIBDIR="\${PREFIX}/$(get_libdir)" \ |
88 | "$@" |
89 | } |
90 | |
91 | src_compile() { |
92 | pemake OPT="${CFLAGS}" all || die |
93 | } |
94 | |
95 | src_install() { |
96 | pemake DESTDIR="${D}" install install-lib || die |
97 | dodoc ChangeLog README TODO |
98 | |
99 | if use network-cron ; then |
100 | exeinto /etc/cron.monthly |
101 | newexe "${FILESDIR}"/pciutils.cron update-pciids \ |
102 | || die "Failed to install update cronjob" |
103 | fi |
104 | |
105 | # Install both forms until HAL has migrated |
106 | if use zlib ; then |
107 | local sharedir="${D}/usr/share/misc" |
108 | elog "Providing a backwards compatibility non-compressed pci.ids" |
109 | gzip -d <"${sharedir}"/pci.ids.gz >"${sharedir}"/pci.ids |
110 | fi |
111 | |
112 | newinitd "${FILESDIR}"/init.d-pciparm pciparm |
113 | newconfd "${FILESDIR}"/conf.d-pciparm pciparm |
114 | } |
115 | |
116 | pkg_postinst() { |
117 | elog "The 'pcimodules' program has been replaced by 'lspci -k'" |
118 | } |