1 |
commit: afbcc389ce51f747b2c7e06cd1e1b5b1e170c55a |
2 |
Author: Marius Brehler <marbre <AT> linux <DOT> sungazer <DOT> de> |
3 |
AuthorDate: Sun Feb 8 10:03:51 2015 +0000 |
4 |
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 8 10:03:51 2015 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=afbcc389 |
7 |
|
8 |
sci-mathematics/why-2.34: Cleanup ebuild |
9 |
|
10 |
--- |
11 |
sci-mathematics/why/ChangeLog | 6 +++++- |
12 |
sci-mathematics/why/why-2.34.ebuild | 19 +++++++++++-------- |
13 |
2 files changed, 16 insertions(+), 9 deletions(-) |
14 |
|
15 |
diff --git a/sci-mathematics/why/ChangeLog b/sci-mathematics/why/ChangeLog |
16 |
index 1fc178c..14dc8f5 100644 |
17 |
--- a/sci-mathematics/why/ChangeLog |
18 |
+++ b/sci-mathematics/why/ChangeLog |
19 |
@@ -1,7 +1,11 @@ |
20 |
# ChangeLog for sci-mathematics/why |
21 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
22 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
23 |
# $Header: $ |
24 |
|
25 |
+ 08 Feb 2015; Marius Brehler <marbre@××××××××××××××.de> |
26 |
+ why-2.34.ebuild: |
27 |
+ Cleanup ebuild |
28 |
+ |
29 |
21 Jun 2014; Jonathan-Christofer Demay <jcdemay@×××××.com> |
30 |
-why-2.30.ebuild, -files/why-2.30.patch, +why-2.34.ebuild, +why-flocq23.patch: |
31 |
version bump |
32 |
|
33 |
diff --git a/sci-mathematics/why/why-2.34.ebuild b/sci-mathematics/why/why-2.34.ebuild |
34 |
index 99372cd..4c13022 100644 |
35 |
--- a/sci-mathematics/why/why-2.34.ebuild |
36 |
+++ b/sci-mathematics/why/why-2.34.ebuild |
37 |
@@ -1,8 +1,8 @@ |
38 |
-# Copyright 1999-2014 Gentoo Foundation |
39 |
+# Copyright 1999-2015 Gentoo Foundation |
40 |
# Distributed under the terms of the GNU General Public License v2 |
41 |
# $Header: $ |
42 |
|
43 |
-EAPI="5" |
44 |
+EAPI=5 |
45 |
|
46 |
inherit autotools eutils |
47 |
|
48 |
@@ -27,33 +27,36 @@ DEPEND=">=dev-lang/ocaml-3.12.1 |
49 |
why3? ( sci-mathematics/why3 )" |
50 |
RDEPEND="${DEPEND}" |
51 |
|
52 |
+DOCS=( CHANGES README Version ) |
53 |
+ |
54 |
src_prepare() { |
55 |
sed -i Makefile.in \ |
56 |
-e "s/DESTDIR =.*//g" \ |
57 |
- -e "s/@COQLIB@/\$(DESTDIR)\/@COQLIB@/g" |
58 |
+ -e "s/@COQLIB@/\$(DESTDIR)\/@COQLIB@/g" || die |
59 |
|
60 |
#to build with apron-0.9.10 |
61 |
sed -i configure.in \ |
62 |
-e "s/pvs/sri-pvs/g" \ |
63 |
-e "s/oct_caml/octMPQ_caml/g" \ |
64 |
-e "s/box_caml/boxMPQ_caml/g" \ |
65 |
- -e "s/polka_caml/polkaMPQ_caml/g" |
66 |
+ -e "s/polka_caml/polkaMPQ_caml/g" || die |
67 |
|
68 |
epatch "${FILESDIR}"/why-flocq23.patch |
69 |
eautoreconf |
70 |
} |
71 |
|
72 |
src_configure() { |
73 |
- econf $(use_enable apron) PATH="/usr/bin:$PATH" || die "econf failed" |
74 |
+ econf $(use_enable apron) PATH="/usr/bin:$PATH" |
75 |
} |
76 |
|
77 |
src_compile(){ |
78 |
- emake -j1 DESTDIR="/" || die "emake failed" |
79 |
+ MAKEOPTS+=" -j1" |
80 |
+ emake DESTDIR="/" |
81 |
} |
82 |
|
83 |
src_install(){ |
84 |
- emake install DESTDIR="${D}" || die "emake install failed" |
85 |
- dodoc CHANGES README Version |
86 |
+ default |
87 |
+ |
88 |
doman doc/why.1 |
89 |
|
90 |
if use doc; then |