From: | "Diego Petteno (flameeyes)" <flameeyes@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-apps/pciutils: pciutils-3.1.9-r2.ebuild ChangeLog |
Date: | Sun, 01 Apr 2012 01:47:45 |
Message-Id: | 20120401014734.CED882004B@flycatcher.gentoo.org |
1 | flameeyes 12/04/01 01:47:34 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pciutils-3.1.9-r2.ebuild |
5 | Log: |
6 | Make use of the new hwids ebuild. |
7 | |
8 | (Portage version: 2.2.0_alpha96/cvs/Linux x86_64) |
9 | |
10 | Revision Changes Path |
11 | 1.194 sys-apps/pciutils/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pciutils/ChangeLog?rev=1.194&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pciutils/ChangeLog?rev=1.194&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pciutils/ChangeLog?r1=1.193&r2=1.194 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v |
20 | retrieving revision 1.193 |
21 | retrieving revision 1.194 |
22 | diff -u -r1.193 -r1.194 |
23 | --- ChangeLog 25 Mar 2012 15:43:46 -0000 1.193 |
24 | +++ ChangeLog 1 Apr 2012 01:47:34 -0000 1.194 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for sys-apps/pciutils |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.193 2012/03/25 15:43:46 maekke Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.194 2012/04/01 01:47:34 flameeyes Exp $ |
30 | + |
31 | +*pciutils-3.1.9-r2 (01 Apr 2012) |
32 | + |
33 | + 01 Apr 2012; Diego E. Pettenò <flameeyes@g.o> |
34 | + +pciutils-3.1.9-r2.ebuild: |
35 | + Make use of the new hwids ebuild. |
36 | |
37 | 25 Mar 2012; Markus Meier <maekke@g.o> pciutils-3.1.9-r1.ebuild: |
38 | arm stable, bug #407831 |
39 | |
40 | |
41 | |
42 | 1.1 sys-apps/pciutils/pciutils-3.1.9-r2.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pciutils/pciutils-3.1.9-r2.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/pciutils/pciutils-3.1.9-r2.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: pciutils-3.1.9-r2.ebuild |
48 | =================================================================== |
49 | # Copyright 1999-2012 Gentoo Foundation |
50 | # Distributed under the terms of the GNU General Public License v2 |
51 | # $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/pciutils-3.1.9-r2.ebuild,v 1.1 2012/04/01 01:47:34 flameeyes Exp $ |
52 | |
53 | EAPI="4" |
54 | |
55 | inherit eutils multilib toolchain-funcs |
56 | |
57 | DESCRIPTION="Various utilities dealing with the PCI bus" |
58 | HOMEPAGE="http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html" |
59 | SRC_URI="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${P}.tar.gz" |
60 | |
61 | LICENSE="GPL-2" |
62 | SLOT="0" |
63 | KEYWORDS="~amd64" |
64 | IUSE="static-libs zlib" |
65 | |
66 | DEPEND="zlib? ( sys-libs/zlib )" |
67 | RDEPEND="${DEPEND} |
68 | sys-apps/hwids" |
69 | |
70 | src_prepare() { |
71 | epatch "${FILESDIR}"/${PN}-3.1.7-install-lib.patch #273489 |
72 | epatch "${FILESDIR}"/${PN}-3.1.7-fbsd.patch #262321 |
73 | |
74 | if use static-libs ; then |
75 | cp -pPR "${S}" "${S}.static" || die |
76 | fi |
77 | } |
78 | |
79 | pemake() { |
80 | emake \ |
81 | HOST="${CHOST}" \ |
82 | CROSS_COMPILE="${CHOST}-" \ |
83 | CC="$(tc-getCC)" \ |
84 | DNS="yes" \ |
85 | IDSDIR='$(SHAREDIR)/misc' \ |
86 | MANDIR='$(SHAREDIR)/man' \ |
87 | PREFIX="${EPREFIX}/usr" \ |
88 | SHARED="yes" \ |
89 | STRIP="" \ |
90 | ZLIB=$(usex zlib) \ |
91 | PCI_COMPRESSED_IDS=0 \ |
92 | PCI_IDS=pci.ids \ |
93 | LIBDIR="\${PREFIX}/$(get_libdir)" \ |
94 | "$@" |
95 | } |
96 | |
97 | src_compile() { |
98 | pemake OPT="${CFLAGS}" all |
99 | if use static-libs ; then |
100 | pemake \ |
101 | -C "${S}.static" \ |
102 | OPT="${CFLAGS}" \ |
103 | SHARED="no" \ |
104 | lib/libpci.a |
105 | fi |
106 | } |
107 | |
108 | src_install() { |
109 | pemake DESTDIR="${D}" install install-lib |
110 | use static-libs && dolib.a "${S}.static/lib/libpci.a" |
111 | dodoc ChangeLog README TODO |
112 | |
113 | rm "${D}"/usr/bin/update-pciids "${D}"/usr/share/misc/pci.ids \ |
114 | "${D}"/usr/share/man/man8/update-pciids.8* |
115 | |
116 | newinitd "${FILESDIR}"/init.d-pciparm pciparm |
117 | newconfd "${FILESDIR}"/conf.d-pciparm pciparm |
118 | } |
119 | |
120 | pkg_postinst() { |
121 | elog "The 'pcimodules' program has been replaced by 'lspci -k'" |
122 | elog "" |
123 | elog "The 'network-cron' USE flag is gone; if you want a more up-to-date" |
124 | elog "pci.ids file, you should use sys-apps/hwids-99999999 (live ebuild)." |
125 | } |