1 |
vapier 10/10/05 08:41:29 |
2 |
|
3 |
Modified: sparse-0.4.2.ebuild ChangeLog sparse-9999.ebuild |
4 |
Log: |
5 |
Clean up ebuilds a bit and make sure compilation happens in src_compile. |
6 |
|
7 |
(Portage version: 2.2_rc86/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.3 sys-devel/sparse/sparse-0.4.2.ebuild |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/sparse/sparse-0.4.2.ebuild?rev=1.3&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/sparse/sparse-0.4.2.ebuild?rev=1.3&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/sparse/sparse-0.4.2.ebuild?r1=1.2&r2=1.3 |
15 |
|
16 |
Index: sparse-0.4.2.ebuild |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-devel/sparse/sparse-0.4.2.ebuild,v |
19 |
retrieving revision 1.2 |
20 |
retrieving revision 1.3 |
21 |
diff -u -r1.2 -r1.3 |
22 |
--- sparse-0.4.2.ebuild 2 Mar 2010 17:45:26 -0000 1.2 |
23 |
+++ sparse-0.4.2.ebuild 5 Oct 2010 08:41:29 -0000 1.3 |
24 |
@@ -1,22 +1,21 @@ |
25 |
# Copyright 1999-2010 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/sparse/sparse-0.4.2.ebuild,v 1.2 2010/03/02 17:45:26 cardoe Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/sparse/sparse-0.4.2.ebuild,v 1.3 2010/10/05 08:41:29 vapier Exp $ |
29 |
|
30 |
EAPI="2" |
31 |
|
32 |
-if [[ ${PV} = *9999* ]]; then |
33 |
+inherit eutils multilib flag-o-matic toolchain-funcs |
34 |
+if [[ ${PV} == "9999" ]] ; then |
35 |
EGIT_REPO_URI="git://git.kernel.org/pub/scm/devel/sparse/sparse.git" |
36 |
- GIT_ECLASS="git" |
37 |
+ inherit git |
38 |
fi |
39 |
|
40 |
-inherit eutils multilib flag-o-matic ${GIT_ECLASS} |
41 |
- |
42 |
DESCRIPTION="C semantic parser" |
43 |
HOMEPAGE="http://sparse.wiki.kernel.org/index.php/Main_Page" |
44 |
|
45 |
-if [[ ${PV} = *9999* ]]; then |
46 |
+if [[ ${PV} == "9999" ]] ; then |
47 |
SRC_URI="" |
48 |
- KEYWORDS="" |
49 |
+ #KEYWORDS="" |
50 |
else |
51 |
SRC_URI="mirror://kernel/software/devel/sparse/dist/${P}.tar.bz2" |
52 |
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
53 |
@@ -26,26 +25,16 @@ |
54 |
SLOT="0" |
55 |
IUSE="" |
56 |
|
57 |
-DEPEND="" |
58 |
-RDEPEND="" |
59 |
- |
60 |
src_prepare() { |
61 |
sed -i \ |
62 |
-e '/^PREFIX=/s:=.*:=/usr:' \ |
63 |
-e "/^LIBDIR=/s:/lib:/$(get_libdir):" \ |
64 |
Makefile || die |
65 |
append-flags -fno-strict-aliasing |
66 |
-} |
67 |
- |
68 |
-src_configure() { |
69 |
- : |
70 |
-} |
71 |
- |
72 |
-src_compile() { |
73 |
- : |
74 |
+ export MAKEOPTS+=" V=1 CC=$(tc-getCC)" |
75 |
} |
76 |
|
77 |
src_install() { |
78 |
- emake DESTDIR="${D}" install || die "make install failed" |
79 |
+ emake DESTDIR="${D}" install || die |
80 |
dodoc FAQ README |
81 |
} |
82 |
|
83 |
|
84 |
|
85 |
1.31 sys-devel/sparse/ChangeLog |
86 |
|
87 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/sparse/ChangeLog?rev=1.31&view=markup |
88 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/sparse/ChangeLog?rev=1.31&content-type=text/plain |
89 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/sparse/ChangeLog?r1=1.30&r2=1.31 |
90 |
|
91 |
Index: ChangeLog |
92 |
=================================================================== |
93 |
RCS file: /var/cvsroot/gentoo-x86/sys-devel/sparse/ChangeLog,v |
94 |
retrieving revision 1.30 |
95 |
retrieving revision 1.31 |
96 |
diff -u -r1.30 -r1.31 |
97 |
--- ChangeLog 2 Mar 2010 17:45:26 -0000 1.30 |
98 |
+++ ChangeLog 5 Oct 2010 08:41:29 -0000 1.31 |
99 |
@@ -1,6 +1,10 @@ |
100 |
# ChangeLog for sys-devel/sparse |
101 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
102 |
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/sparse/ChangeLog,v 1.30 2010/03/02 17:45:26 cardoe Exp $ |
103 |
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/sparse/ChangeLog,v 1.31 2010/10/05 08:41:29 vapier Exp $ |
104 |
+ |
105 |
+ 05 Oct 2010; Mike Frysinger <vapier@g.o> sparse-0.4.2.ebuild, |
106 |
+ sparse-9999.ebuild: |
107 |
+ Clean up ebuilds a bit and make sure compilation happens in src_compile. |
108 |
|
109 |
02 Mar 2010; Doug Goldstein <cardoe@g.o> sparse-0.4.2.ebuild, |
110 |
sparse-9999.ebuild: |
111 |
|
112 |
|
113 |
|
114 |
1.5 sys-devel/sparse/sparse-9999.ebuild |
115 |
|
116 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/sparse/sparse-9999.ebuild?rev=1.5&view=markup |
117 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/sparse/sparse-9999.ebuild?rev=1.5&content-type=text/plain |
118 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/sparse/sparse-9999.ebuild?r1=1.4&r2=1.5 |
119 |
|
120 |
Index: sparse-9999.ebuild |
121 |
=================================================================== |
122 |
RCS file: /var/cvsroot/gentoo-x86/sys-devel/sparse/sparse-9999.ebuild,v |
123 |
retrieving revision 1.4 |
124 |
retrieving revision 1.5 |
125 |
diff -u -r1.4 -r1.5 |
126 |
--- sparse-9999.ebuild 2 Mar 2010 17:45:26 -0000 1.4 |
127 |
+++ sparse-9999.ebuild 5 Oct 2010 08:41:29 -0000 1.5 |
128 |
@@ -1,22 +1,21 @@ |
129 |
# Copyright 1999-2010 Gentoo Foundation |
130 |
# Distributed under the terms of the GNU General Public License v2 |
131 |
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/sparse/sparse-9999.ebuild,v 1.4 2010/03/02 17:45:26 cardoe Exp $ |
132 |
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/sparse/sparse-9999.ebuild,v 1.5 2010/10/05 08:41:29 vapier Exp $ |
133 |
|
134 |
EAPI="2" |
135 |
|
136 |
-if [[ ${PV} = *9999* ]]; then |
137 |
+inherit eutils multilib flag-o-matic toolchain-funcs |
138 |
+if [[ ${PV} == "9999" ]] ; then |
139 |
EGIT_REPO_URI="git://git.kernel.org/pub/scm/devel/sparse/sparse.git" |
140 |
- GIT_ECLASS="git" |
141 |
+ inherit git |
142 |
fi |
143 |
|
144 |
-inherit eutils multilib flag-o-matic ${GIT_ECLASS} |
145 |
- |
146 |
DESCRIPTION="C semantic parser" |
147 |
HOMEPAGE="http://sparse.wiki.kernel.org/index.php/Main_Page" |
148 |
|
149 |
-if [[ ${PV} = *9999* ]]; then |
150 |
+if [[ ${PV} == "9999" ]] ; then |
151 |
SRC_URI="" |
152 |
- KEYWORDS="" |
153 |
+ #KEYWORDS="" |
154 |
else |
155 |
SRC_URI="mirror://kernel/software/devel/sparse/dist/${P}.tar.bz2" |
156 |
KEYWORDS="~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
157 |
@@ -26,26 +25,16 @@ |
158 |
SLOT="0" |
159 |
IUSE="" |
160 |
|
161 |
-DEPEND="" |
162 |
-RDEPEND="" |
163 |
- |
164 |
src_prepare() { |
165 |
sed -i \ |
166 |
-e '/^PREFIX=/s:=.*:=/usr:' \ |
167 |
-e "/^LIBDIR=/s:/lib:/$(get_libdir):" \ |
168 |
Makefile || die |
169 |
append-flags -fno-strict-aliasing |
170 |
-} |
171 |
- |
172 |
-src_configure() { |
173 |
- : |
174 |
-} |
175 |
- |
176 |
-src_compile() { |
177 |
- : |
178 |
+ export MAKEOPTS+=" V=1 CC=$(tc-getCC)" |
179 |
} |
180 |
|
181 |
src_install() { |
182 |
- emake DESTDIR="${D}" install || die "make install failed" |
183 |
+ emake DESTDIR="${D}" install || die |
184 |
dodoc FAQ README |
185 |
} |