1 |
blueness 14/06/30 01:08:11 |
2 |
|
3 |
Modified: leveldb-1.11.0.ebuild leveldb-1.13.0.ebuild |
4 |
leveldb-1.12.0.ebuild leveldb-1.10.0.ebuild |
5 |
ChangeLog |
6 |
Added: leveldb-1.12.0-r1.ebuild leveldb-1.13.0-r1.ebuild |
7 |
leveldb-1.10.0-r1.ebuild leveldb-1.11.0-r1.ebuild |
8 |
leveldb-1.9.0-r6.ebuild |
9 |
Log: |
10 |
Add forward compat patch, bug #506184 |
11 |
|
12 |
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
13 |
|
14 |
Revision Changes Path |
15 |
1.2 dev-libs/leveldb/leveldb-1.11.0.ebuild |
16 |
|
17 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/leveldb-1.11.0.ebuild?rev=1.2&view=markup |
18 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/leveldb-1.11.0.ebuild?rev=1.2&content-type=text/plain |
19 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/leveldb-1.11.0.ebuild?r1=1.1&r2=1.2 |
20 |
|
21 |
Index: leveldb-1.11.0.ebuild |
22 |
=================================================================== |
23 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.11.0.ebuild,v |
24 |
retrieving revision 1.1 |
25 |
retrieving revision 1.2 |
26 |
diff -u -r1.1 -r1.2 |
27 |
--- leveldb-1.11.0.ebuild 19 Jun 2013 03:28:03 -0000 1.1 |
28 |
+++ leveldb-1.11.0.ebuild 30 Jun 2014 01:08:11 -0000 1.2 |
29 |
@@ -1,6 +1,6 @@ |
30 |
-# Copyright 1999-2013 Gentoo Foundation |
31 |
+# Copyright 1999-2014 Gentoo Foundation |
32 |
# Distributed under the terms of the GNU General Public License v2 |
33 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.11.0.ebuild,v 1.1 2013/06/19 03:28:03 patrick Exp $ |
34 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.11.0.ebuild,v 1.2 2014/06/30 01:08:11 blueness Exp $ |
35 |
|
36 |
EAPI=4 |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.2 dev-libs/leveldb/leveldb-1.13.0.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/leveldb-1.13.0.ebuild?rev=1.2&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/leveldb-1.13.0.ebuild?rev=1.2&content-type=text/plain |
45 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/leveldb-1.13.0.ebuild?r1=1.1&r2=1.2 |
46 |
|
47 |
Index: leveldb-1.13.0.ebuild |
48 |
=================================================================== |
49 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.13.0.ebuild,v |
50 |
retrieving revision 1.1 |
51 |
retrieving revision 1.2 |
52 |
diff -u -r1.1 -r1.2 |
53 |
--- leveldb-1.13.0.ebuild 29 Aug 2013 01:25:20 -0000 1.1 |
54 |
+++ leveldb-1.13.0.ebuild 30 Jun 2014 01:08:11 -0000 1.2 |
55 |
@@ -1,6 +1,6 @@ |
56 |
-# Copyright 1999-2013 Gentoo Foundation |
57 |
+# Copyright 1999-2014 Gentoo Foundation |
58 |
# Distributed under the terms of the GNU General Public License v2 |
59 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.13.0.ebuild,v 1.1 2013/08/29 01:25:20 patrick Exp $ |
60 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.13.0.ebuild,v 1.2 2014/06/30 01:08:11 blueness Exp $ |
61 |
|
62 |
EAPI=4 |
63 |
|
64 |
|
65 |
|
66 |
|
67 |
1.2 dev-libs/leveldb/leveldb-1.12.0.ebuild |
68 |
|
69 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/leveldb-1.12.0.ebuild?rev=1.2&view=markup |
70 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/leveldb-1.12.0.ebuild?rev=1.2&content-type=text/plain |
71 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/leveldb-1.12.0.ebuild?r1=1.1&r2=1.2 |
72 |
|
73 |
Index: leveldb-1.12.0.ebuild |
74 |
=================================================================== |
75 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.12.0.ebuild,v |
76 |
retrieving revision 1.1 |
77 |
retrieving revision 1.2 |
78 |
diff -u -r1.1 -r1.2 |
79 |
--- leveldb-1.12.0.ebuild 20 Jun 2013 03:30:25 -0000 1.1 |
80 |
+++ leveldb-1.12.0.ebuild 30 Jun 2014 01:08:11 -0000 1.2 |
81 |
@@ -1,6 +1,6 @@ |
82 |
-# Copyright 1999-2013 Gentoo Foundation |
83 |
+# Copyright 1999-2014 Gentoo Foundation |
84 |
# Distributed under the terms of the GNU General Public License v2 |
85 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.12.0.ebuild,v 1.1 2013/06/20 03:30:25 patrick Exp $ |
86 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.12.0.ebuild,v 1.2 2014/06/30 01:08:11 blueness Exp $ |
87 |
|
88 |
EAPI=4 |
89 |
|
90 |
|
91 |
|
92 |
|
93 |
1.3 dev-libs/leveldb/leveldb-1.10.0.ebuild |
94 |
|
95 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/leveldb-1.10.0.ebuild?rev=1.3&view=markup |
96 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/leveldb-1.10.0.ebuild?rev=1.3&content-type=text/plain |
97 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/leveldb-1.10.0.ebuild?r1=1.2&r2=1.3 |
98 |
|
99 |
Index: leveldb-1.10.0.ebuild |
100 |
=================================================================== |
101 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.10.0.ebuild,v |
102 |
retrieving revision 1.2 |
103 |
retrieving revision 1.3 |
104 |
diff -u -r1.2 -r1.3 |
105 |
--- leveldb-1.10.0.ebuild 11 Jun 2013 19:09:53 -0000 1.2 |
106 |
+++ leveldb-1.10.0.ebuild 30 Jun 2014 01:08:11 -0000 1.3 |
107 |
@@ -1,6 +1,6 @@ |
108 |
-# Copyright 1999-2013 Gentoo Foundation |
109 |
+# Copyright 1999-2014 Gentoo Foundation |
110 |
# Distributed under the terms of the GNU General Public License v2 |
111 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.10.0.ebuild,v 1.2 2013/06/11 19:09:53 bicatali Exp $ |
112 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.10.0.ebuild,v 1.3 2014/06/30 01:08:11 blueness Exp $ |
113 |
|
114 |
EAPI=4 |
115 |
|
116 |
|
117 |
|
118 |
|
119 |
1.19 dev-libs/leveldb/ChangeLog |
120 |
|
121 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/ChangeLog?rev=1.19&view=markup |
122 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/ChangeLog?rev=1.19&content-type=text/plain |
123 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/ChangeLog?r1=1.18&r2=1.19 |
124 |
|
125 |
Index: ChangeLog |
126 |
=================================================================== |
127 |
RCS file: /var/cvsroot/gentoo-x86/dev-libs/leveldb/ChangeLog,v |
128 |
retrieving revision 1.18 |
129 |
retrieving revision 1.19 |
130 |
diff -u -r1.18 -r1.19 |
131 |
--- ChangeLog 16 Dec 2013 05:04:15 -0000 1.18 |
132 |
+++ ChangeLog 30 Jun 2014 01:08:11 -0000 1.19 |
133 |
@@ -1,6 +1,19 @@ |
134 |
# ChangeLog for dev-libs/leveldb |
135 |
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
136 |
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/ChangeLog,v 1.18 2013/12/16 05:04:15 patrick Exp $ |
137 |
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
138 |
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/ChangeLog,v 1.19 2014/06/30 01:08:11 blueness Exp $ |
139 |
+ |
140 |
+*leveldb-1.11.0-r1 (30 Jun 2014) |
141 |
+*leveldb-1.12.0-r1 (30 Jun 2014) |
142 |
+*leveldb-1.10.0-r1 (30 Jun 2014) |
143 |
+*leveldb-1.9.0-r6 (30 Jun 2014) |
144 |
+*leveldb-1.13.0-r1 (30 Jun 2014) |
145 |
+ |
146 |
+ 30 Jun 2014; Anthony G. Basile <blueness@g.o> |
147 |
+ +files/leveldb-1.9.0-forwardcompat.patch, +leveldb-1.10.0-r1.ebuild, |
148 |
+ +leveldb-1.11.0-r1.ebuild, +leveldb-1.12.0-r1.ebuild, |
149 |
+ +leveldb-1.13.0-r1.ebuild, +leveldb-1.9.0-r6.ebuild, leveldb-1.10.0.ebuild, |
150 |
+ leveldb-1.11.0.ebuild, leveldb-1.12.0.ebuild, leveldb-1.13.0.ebuild: |
151 |
+ Add forward compat patch, bug #506184 |
152 |
|
153 |
*leveldb-1.15.0 (16 Dec 2013) |
154 |
|
155 |
|
156 |
|
157 |
|
158 |
1.1 dev-libs/leveldb/leveldb-1.12.0-r1.ebuild |
159 |
|
160 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/leveldb-1.12.0-r1.ebuild?rev=1.1&view=markup |
161 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/leveldb-1.12.0-r1.ebuild?rev=1.1&content-type=text/plain |
162 |
|
163 |
Index: leveldb-1.12.0-r1.ebuild |
164 |
=================================================================== |
165 |
# Copyright 1999-2014 Gentoo Foundation |
166 |
# Distributed under the terms of the GNU General Public License v2 |
167 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.12.0-r1.ebuild,v 1.1 2014/06/30 01:08:11 blueness Exp $ |
168 |
|
169 |
EAPI=4 |
170 |
|
171 |
inherit eutils multilib toolchain-funcs |
172 |
|
173 |
DESCRIPTION="a fast key-value storage library written at Google" |
174 |
HOMEPAGE="http://code.google.com/p/leveldb/" |
175 |
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" |
176 |
|
177 |
LICENSE="BSD" |
178 |
SLOT="0" |
179 |
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" |
180 |
IUSE="+snappy static-libs +tcmalloc" |
181 |
|
182 |
DEPEND="tcmalloc? ( dev-util/google-perftools ) |
183 |
snappy? ( |
184 |
app-arch/snappy |
185 |
static-libs? ( app-arch/snappy[static-libs] ) |
186 |
)" |
187 |
RDEPEND="${DEPEND}" |
188 |
|
189 |
src_prepare() { |
190 |
epatch "${FILESDIR}"/${PN}-1.9.0-forwardcompat.patch |
191 |
} |
192 |
|
193 |
src_configure() { |
194 |
# These vars all get picked up by build_detect_platform |
195 |
# which the Makefile runs for us automatically. |
196 |
tc-export AR CC CXX |
197 |
export OPT="-DNDEBUG ${CPPFLAGS}" |
198 |
# Probably needs more filling out |
199 |
export TARGET_OS |
200 |
case ${CHOST} in |
201 |
*) TARGET_OS="Linux";; |
202 |
esac |
203 |
export USE_SNAPPY=$(usex snappy) |
204 |
export USE_TCMALLOC=no |
205 |
} |
206 |
|
207 |
src_compile() { |
208 |
emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a |
209 |
} |
210 |
|
211 |
src_test() { |
212 |
emake check |
213 |
} |
214 |
|
215 |
src_install() { |
216 |
insinto /usr/include |
217 |
doins -r include/* helpers/memenv/memenv.h |
218 |
dolib.so libleveldb*$(get_libname)* |
219 |
use static-libs && dolib.a libleveldb.a |
220 |
dolib.a libmemenv.a |
221 |
} |
222 |
|
223 |
|
224 |
|
225 |
1.1 dev-libs/leveldb/leveldb-1.13.0-r1.ebuild |
226 |
|
227 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/leveldb-1.13.0-r1.ebuild?rev=1.1&view=markup |
228 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/leveldb-1.13.0-r1.ebuild?rev=1.1&content-type=text/plain |
229 |
|
230 |
Index: leveldb-1.13.0-r1.ebuild |
231 |
=================================================================== |
232 |
# Copyright 1999-2014 Gentoo Foundation |
233 |
# Distributed under the terms of the GNU General Public License v2 |
234 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.13.0-r1.ebuild,v 1.1 2014/06/30 01:08:11 blueness Exp $ |
235 |
|
236 |
EAPI=4 |
237 |
|
238 |
inherit eutils multilib toolchain-funcs |
239 |
|
240 |
DESCRIPTION="a fast key-value storage library written at Google" |
241 |
HOMEPAGE="http://code.google.com/p/leveldb/" |
242 |
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" |
243 |
|
244 |
LICENSE="BSD" |
245 |
SLOT="0" |
246 |
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" |
247 |
IUSE="+snappy static-libs +tcmalloc" |
248 |
|
249 |
DEPEND="tcmalloc? ( dev-util/google-perftools ) |
250 |
snappy? ( |
251 |
app-arch/snappy |
252 |
static-libs? ( app-arch/snappy[static-libs] ) |
253 |
)" |
254 |
RDEPEND="${DEPEND}" |
255 |
|
256 |
src_prepare() { |
257 |
epatch "${FILESDIR}"/${PN}-1.9.0-forwardcompat.patch |
258 |
} |
259 |
|
260 |
src_configure() { |
261 |
# These vars all get picked up by build_detect_platform |
262 |
# which the Makefile runs for us automatically. |
263 |
tc-export AR CC CXX |
264 |
export OPT="-DNDEBUG ${CPPFLAGS}" |
265 |
# Probably needs more filling out |
266 |
export TARGET_OS |
267 |
case ${CHOST} in |
268 |
*) TARGET_OS="Linux";; |
269 |
esac |
270 |
export USE_SNAPPY=$(usex snappy) |
271 |
export USE_TCMALLOC=no |
272 |
} |
273 |
|
274 |
src_compile() { |
275 |
emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a |
276 |
} |
277 |
|
278 |
src_test() { |
279 |
emake check |
280 |
} |
281 |
|
282 |
src_install() { |
283 |
insinto /usr/include |
284 |
doins -r include/* helpers/memenv/memenv.h |
285 |
dolib.so libleveldb*$(get_libname)* |
286 |
use static-libs && dolib.a libleveldb.a |
287 |
dolib.a libmemenv.a |
288 |
} |
289 |
|
290 |
|
291 |
|
292 |
1.1 dev-libs/leveldb/leveldb-1.10.0-r1.ebuild |
293 |
|
294 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/leveldb-1.10.0-r1.ebuild?rev=1.1&view=markup |
295 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/leveldb-1.10.0-r1.ebuild?rev=1.1&content-type=text/plain |
296 |
|
297 |
Index: leveldb-1.10.0-r1.ebuild |
298 |
=================================================================== |
299 |
# Copyright 1999-2014 Gentoo Foundation |
300 |
# Distributed under the terms of the GNU General Public License v2 |
301 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.10.0-r1.ebuild,v 1.1 2014/06/30 01:08:11 blueness Exp $ |
302 |
|
303 |
EAPI=4 |
304 |
|
305 |
inherit eutils multilib toolchain-funcs |
306 |
|
307 |
DESCRIPTION="a fast key-value storage library written at Google" |
308 |
HOMEPAGE="http://code.google.com/p/leveldb/" |
309 |
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" |
310 |
|
311 |
LICENSE="BSD" |
312 |
SLOT="0" |
313 |
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" |
314 |
IUSE="+snappy static-libs +tcmalloc" |
315 |
|
316 |
DEPEND="tcmalloc? ( dev-util/google-perftools ) |
317 |
snappy? ( |
318 |
app-arch/snappy |
319 |
static-libs? ( app-arch/snappy[static-libs] ) |
320 |
)" |
321 |
RDEPEND="${DEPEND}" |
322 |
|
323 |
src_prepare() { |
324 |
epatch "${FILESDIR}"/${PN}-1.9.0-forwardcompat.patch |
325 |
} |
326 |
|
327 |
src_configure() { |
328 |
# These vars all get picked up by build_detect_platform |
329 |
# which the Makefile runs for us automatically. |
330 |
tc-export AR CC CXX |
331 |
export OPT="-DNDEBUG ${CPPFLAGS}" |
332 |
# Probably needs more filling out |
333 |
export TARGET_OS |
334 |
case ${CHOST} in |
335 |
*) TARGET_OS="Linux";; |
336 |
esac |
337 |
export USE_SNAPPY=$(usex snappy) |
338 |
export USE_TCMALLOC=no |
339 |
} |
340 |
|
341 |
src_compile() { |
342 |
emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a |
343 |
} |
344 |
|
345 |
src_test() { |
346 |
emake check |
347 |
} |
348 |
|
349 |
src_install() { |
350 |
insinto /usr/include |
351 |
doins -r include/* helpers/memenv/memenv.h |
352 |
dolib.so libleveldb*$(get_libname)* |
353 |
use static-libs && dolib.a libleveldb.a |
354 |
dolib.a libmemenv.a |
355 |
} |
356 |
|
357 |
|
358 |
|
359 |
1.1 dev-libs/leveldb/leveldb-1.11.0-r1.ebuild |
360 |
|
361 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/leveldb-1.11.0-r1.ebuild?rev=1.1&view=markup |
362 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/leveldb-1.11.0-r1.ebuild?rev=1.1&content-type=text/plain |
363 |
|
364 |
Index: leveldb-1.11.0-r1.ebuild |
365 |
=================================================================== |
366 |
# Copyright 1999-2014 Gentoo Foundation |
367 |
# Distributed under the terms of the GNU General Public License v2 |
368 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.11.0-r1.ebuild,v 1.1 2014/06/30 01:08:11 blueness Exp $ |
369 |
|
370 |
EAPI=4 |
371 |
|
372 |
inherit eutils multilib toolchain-funcs |
373 |
|
374 |
DESCRIPTION="a fast key-value storage library written at Google" |
375 |
HOMEPAGE="http://code.google.com/p/leveldb/" |
376 |
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" |
377 |
|
378 |
LICENSE="BSD" |
379 |
SLOT="0" |
380 |
KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" |
381 |
IUSE="+snappy static-libs +tcmalloc" |
382 |
|
383 |
DEPEND="tcmalloc? ( dev-util/google-perftools ) |
384 |
snappy? ( |
385 |
app-arch/snappy |
386 |
static-libs? ( app-arch/snappy[static-libs] ) |
387 |
)" |
388 |
RDEPEND="${DEPEND}" |
389 |
|
390 |
src_prepare() { |
391 |
epatch "${FILESDIR}"/${PN}-1.9.0-forwardcompat.patch |
392 |
} |
393 |
|
394 |
src_configure() { |
395 |
# These vars all get picked up by build_detect_platform |
396 |
# which the Makefile runs for us automatically. |
397 |
tc-export AR CC CXX |
398 |
export OPT="-DNDEBUG ${CPPFLAGS}" |
399 |
# Probably needs more filling out |
400 |
export TARGET_OS |
401 |
case ${CHOST} in |
402 |
*) TARGET_OS="Linux";; |
403 |
esac |
404 |
export USE_SNAPPY=$(usex snappy) |
405 |
export USE_TCMALLOC=no |
406 |
} |
407 |
|
408 |
src_compile() { |
409 |
emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a |
410 |
} |
411 |
|
412 |
src_test() { |
413 |
emake check |
414 |
} |
415 |
|
416 |
src_install() { |
417 |
insinto /usr/include |
418 |
doins -r include/* helpers/memenv/memenv.h |
419 |
dolib.so libleveldb*$(get_libname)* |
420 |
use static-libs && dolib.a libleveldb.a |
421 |
dolib.a libmemenv.a |
422 |
} |
423 |
|
424 |
|
425 |
|
426 |
1.1 dev-libs/leveldb/leveldb-1.9.0-r6.ebuild |
427 |
|
428 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/leveldb-1.9.0-r6.ebuild?rev=1.1&view=markup |
429 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/leveldb/leveldb-1.9.0-r6.ebuild?rev=1.1&content-type=text/plain |
430 |
|
431 |
Index: leveldb-1.9.0-r6.ebuild |
432 |
=================================================================== |
433 |
# Copyright 1999-2014 Gentoo Foundation |
434 |
# Distributed under the terms of the GNU General Public License v2 |
435 |
# $Header: /var/cvsroot/gentoo-x86/dev-libs/leveldb/leveldb-1.9.0-r6.ebuild,v 1.1 2014/06/30 01:08:11 blueness Exp $ |
436 |
|
437 |
EAPI=4 |
438 |
|
439 |
inherit eutils multilib toolchain-funcs |
440 |
|
441 |
DESCRIPTION="a fast key-value storage library written at Google" |
442 |
HOMEPAGE="http://code.google.com/p/leveldb/" |
443 |
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz" |
444 |
|
445 |
LICENSE="BSD" |
446 |
SLOT="0" |
447 |
KEYWORDS="~amd64 ~arm ~x86" |
448 |
IUSE="+snappy static-libs" |
449 |
|
450 |
DEPEND=" |
451 |
snappy? ( |
452 |
app-arch/snappy |
453 |
static-libs? ( app-arch/snappy[static-libs] ) |
454 |
)" |
455 |
RDEPEND="${DEPEND}" |
456 |
|
457 |
src_prepare() { |
458 |
epatch "${FILESDIR}"/${PN}-1.9.0-configure.patch |
459 |
epatch "${FILESDIR}"/${PN}-1.9.0-forwardcompat.patch |
460 |
} |
461 |
|
462 |
src_configure() { |
463 |
# These vars all get picked up by build_detect_platform |
464 |
# which the Makefile runs for us automatically. |
465 |
tc-export AR CC CXX |
466 |
export OPT="-DNDEBUG ${CPPFLAGS}" |
467 |
# Probably needs more filling out |
468 |
export TARGET_OS |
469 |
case ${CHOST} in |
470 |
*) TARGET_OS="Linux";; |
471 |
esac |
472 |
export USE_SNAPPY=$(usex snappy) |
473 |
export USE_TCMALLOC=no |
474 |
} |
475 |
|
476 |
src_compile() { |
477 |
emake $(usex static-libs '' 'LIBRARY=') all libmemenv.a |
478 |
} |
479 |
|
480 |
src_test() { |
481 |
emake check |
482 |
} |
483 |
|
484 |
src_install() { |
485 |
insinto /usr/include |
486 |
doins -r include/* helpers/memenv/memenv.h |
487 |
dolib.so libleveldb*$(get_libname)* |
488 |
use static-libs && dolib.a libleveldb.a |
489 |
dolib.a libmemenv.a |
490 |
} |