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.0.0.ebuild |
Date: | Sun, 13 Apr 2008 22:38:54 |
Message-Id: | E1JlAqa-00038j-34@stork.gentoo.org |
1 | vapier 08/04/13 22:38:52 |
2 | |
3 | Modified: ChangeLog |
4 | Added: pciutils-3.0.0.ebuild |
5 | Log: |
6 | Version bump #217433 by Arfrever Frehtes Taifersar Arahesis. |
7 | (Portage version: 2.2_pre5) |
8 | |
9 | Revision Changes Path |
10 | 1.136 sys-apps/pciutils/ChangeLog |
11 | |
12 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/ChangeLog?rev=1.136&view=markup |
13 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/ChangeLog?rev=1.136&content-type=text/plain |
14 | diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/ChangeLog?r1=1.135&r2=1.136 |
15 | |
16 | Index: ChangeLog |
17 | =================================================================== |
18 | RCS file: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v |
19 | retrieving revision 1.135 |
20 | retrieving revision 1.136 |
21 | diff -u -r1.135 -r1.136 |
22 | --- ChangeLog 12 Apr 2008 07:45:01 -0000 1.135 |
23 | +++ ChangeLog 13 Apr 2008 22:38:51 -0000 1.136 |
24 | @@ -1,6 +1,12 @@ |
25 | # ChangeLog for sys-apps/pciutils |
26 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 | -# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.135 2008/04/12 07:45:01 nixnut Exp $ |
28 | +# $Header: /var/cvsroot/gentoo-x86/sys-apps/pciutils/ChangeLog,v 1.136 2008/04/13 22:38:51 vapier Exp $ |
29 | + |
30 | +*pciutils-3.0.0 (13 Apr 2008) |
31 | + |
32 | + 13 Apr 2008; Mike Frysinger <vapier@g.o> |
33 | + +files/pcimodules-pciutils-3.0.0.patch, +pciutils-3.0.0.ebuild: |
34 | + Version bump #217433 by Arfrever Frehtes Taifersar Arahesis. |
35 | |
36 | 12 Apr 2008; nixnut <nixnut@g.o> pciutils-2.2.10.ebuild: |
37 | Stable on ppc wrt bug #217106 |
38 | |
39 | |
40 | |
41 | 1.1 sys-apps/pciutils/pciutils-3.0.0.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/pciutils-3.0.0.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-apps/pciutils/pciutils-3.0.0.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: pciutils-3.0.0.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2008 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.0.0.ebuild,v 1.1 2008/04/13 22:38:51 vapier Exp $ |
51 | |
52 | inherit eutils flag-o-matic toolchain-funcs multilib |
53 | |
54 | DESCRIPTION="Various utilities dealing with the PCI bus" |
55 | HOMEPAGE="http://atrey.karlin.mff.cuni.cz/~mj/pciutils.html" |
56 | SRC_URI="ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci/${P}.tar.gz" |
57 | |
58 | LICENSE="GPL-2" |
59 | SLOT="0" |
60 | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" |
61 | IUSE="network-cron zlib" |
62 | |
63 | DEPEND="zlib? ( sys-libs/zlib )" |
64 | |
65 | src_unpack() { |
66 | unpack ${A} |
67 | cd "${S}" |
68 | epatch "${FILESDIR}"/pcimodules-${PN}-3.0.0.patch |
69 | epatch "${FILESDIR}"/${PN}-2.2.7-update-pciids-both-forms.patch |
70 | sed -i -e "/^LIBDIR=/s:/lib:/$(get_libdir):" Makefile |
71 | } |
72 | |
73 | uyesno() { use $1 && echo yes || echo no ; } |
74 | pemake() { |
75 | emake \ |
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 | tc-export AR CC RANLIB |
88 | pemake OPT="${CFLAGS}" all pcimodules || die "emake failed" |
89 | } |
90 | |
91 | src_install() { |
92 | pemake DESTDIR="${D}" install install-lib || die |
93 | dosbin pcimodules || die |
94 | newman pcimodules.man pcimodules.8 |
95 | |
96 | if use network-cron ; then |
97 | exeinto /etc/cron.monthly |
98 | newexe "${FILESDIR}"/pciutils.cron update-pciids \ |
99 | || die "Failed to install update cronjob" |
100 | fi |
101 | |
102 | # Install both forms until HAL has migrated |
103 | if use zlib ; then |
104 | local sharedir="${D}/usr/share/misc" |
105 | elog "Providing a backwards compatability non-compressed pci.ids" |
106 | gzip -d <"${sharedir}"/pci.ids.gz >"${sharedir}"/pci.ids |
107 | fi |
108 | } |
109 | |
110 | |
111 | |
112 | -- |
113 | gentoo-commits@l.g.o mailing list |