1 |
ssuominen 11/05/01 10:42:10 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: hwinfo-18.5.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.0_alpha30/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.21 sys-apps/hwinfo/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwinfo/ChangeLog?rev=1.21&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwinfo/ChangeLog?rev=1.21&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwinfo/ChangeLog?r1=1.20&r2=1.21 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-apps/hwinfo/ChangeLog,v |
20 |
retrieving revision 1.20 |
21 |
retrieving revision 1.21 |
22 |
diff -u -r1.20 -r1.21 |
23 |
--- ChangeLog 1 Nov 2010 18:52:57 -0000 1.20 |
24 |
+++ ChangeLog 1 May 2011 10:42:09 -0000 1.21 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for sys-apps/hwinfo |
27 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwinfo/ChangeLog,v 1.20 2010/11/01 18:52:57 ssuominen Exp $ |
29 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwinfo/ChangeLog,v 1.21 2011/05/01 10:42:09 ssuominen Exp $ |
31 |
+ |
32 |
+*hwinfo-18.5 (01 May 2011) |
33 |
+ |
34 |
+ 01 May 2011; Samuli Suominen <ssuominen@g.o> +hwinfo-18.5.ebuild: |
35 |
+ Version bump. |
36 |
|
37 |
01 Nov 2010; Samuli Suominen <ssuominen@g.o> hwinfo-18.1.ebuild: |
38 |
ppc stable wrt wrt bug #342753 |
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-apps/hwinfo/hwinfo-18.5.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwinfo/hwinfo-18.5.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-apps/hwinfo/hwinfo-18.5.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: hwinfo-18.5.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2011 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-apps/hwinfo/hwinfo-18.5.ebuild,v 1.1 2011/05/01 10:42:09 ssuominen Exp $ |
52 |
|
53 |
EAPI=4 |
54 |
inherit multilib rpm toolchain-funcs |
55 |
|
56 |
DESCRIPTION="hwinfo is the hardware detection tool used in SuSE Linux." |
57 |
HOMEPAGE="http://www.opensuse.org/" |
58 |
SRC_URI="http://download.opensuse.org/source/factory/repo/oss/suse/src/${P}-2.1.src.rpm" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~amd64 ~ppc ~x86" |
63 |
IUSE="" |
64 |
|
65 |
RDEPEND="amd64? ( dev-libs/libx86emu ) |
66 |
x86? ( dev-libs/libx86emu )" |
67 |
DEPEND="${RDEPEND} |
68 |
sys-devel/flex |
69 |
>=sys-kernel/linux-headers-2.6.17" |
70 |
|
71 |
MAKEOPTS="${MAKEOPTS} -j1" |
72 |
|
73 |
src_prepare() { |
74 |
# Respect AR variable. |
75 |
sed -i \ |
76 |
-e 's:ar r:$(AR) r:' \ |
77 |
src/{,isdn,ids,smp,hd}/Makefile || die |
78 |
|
79 |
# Avoid -I directories for dbus because HAL is obsolete. |
80 |
sed -i -e '/CFLAGS/d' src/hd/Makefile || die |
81 |
# Respect LDFLAGS. |
82 |
sed -i -e 's:$(CC) -shared:& $(LDFLAGS):' src/Makefile || die |
83 |
sed -i -e 's:$(CC) $(CFLAGS):$(CC) $(LDFLAGS) $(CFLAGS):' src/ids/Makefile || die |
84 |
|
85 |
# Respect MAKE variable. Skip forced -pipe and -g. Respect LDFLAGS. |
86 |
sed -i \ |
87 |
-e 's:make:$(MAKE):' \ |
88 |
-e 's:-pipe -g::' \ |
89 |
-e 's:LDFLAGS.*=:LDFLAGS +=:' \ |
90 |
Makefile{,.common} || die |
91 |
} |
92 |
|
93 |
src_compile() { |
94 |
tc-export AR |
95 |
emake CC="$(tc-getCC)" RPM_OPT_FLAGS="${CFLAGS}" |
96 |
} |
97 |
|
98 |
src_install() { |
99 |
emake DESTDIR="${D}" LIBDIR="/usr/$(get_libdir)" install |
100 |
|
101 |
dodoc changelog README |
102 |
doman doc/hwinfo.8 |
103 |
insinto /usr/share/doc/${PF}/examples |
104 |
doins doc/example*.c |
105 |
} |