1 |
jlec 12/02/28 12:57:17 |
2 |
|
3 |
Modified: metadata.xml mc-1.5.ebuild ChangeLog |
4 |
Log: |
5 |
Moved to autotools-utils, EAPI=4, fix blas/lapack detection and add USE=static-libs |
6 |
|
7 |
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.2 sci-libs/mc/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mc/metadata.xml?rev=1.2&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mc/metadata.xml?rev=1.2&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mc/metadata.xml?r1=1.1&r2=1.2 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/mc/metadata.xml,v |
19 |
retrieving revision 1.1 |
20 |
retrieving revision 1.2 |
21 |
diff -u -r1.1 -r1.2 |
22 |
--- metadata.xml 1 Nov 2010 14:52:26 -0000 1.1 |
23 |
+++ metadata.xml 28 Feb 2012 12:57:17 -0000 1.2 |
24 |
@@ -1,8 +1,8 @@ |
25 |
<?xml version="1.0" encoding="UTF-8"?> |
26 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
27 |
<pkgmetadata> |
28 |
-<herd>sci</herd> |
29 |
-<maintainer> |
30 |
- <email>jlec@g.o</email> |
31 |
-</maintainer> |
32 |
+ <herd>sci</herd> |
33 |
+ <maintainer> |
34 |
+ <email>jlec@g.o</email> |
35 |
+ </maintainer> |
36 |
</pkgmetadata> |
37 |
|
38 |
|
39 |
|
40 |
1.4 sci-libs/mc/mc-1.5.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mc/mc-1.5.ebuild?rev=1.4&view=markup |
43 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mc/mc-1.5.ebuild?rev=1.4&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mc/mc-1.5.ebuild?r1=1.3&r2=1.4 |
45 |
|
46 |
Index: mc-1.5.ebuild |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/mc/mc-1.5.ebuild,v |
49 |
retrieving revision 1.3 |
50 |
retrieving revision 1.4 |
51 |
diff -u -r1.3 -r1.4 |
52 |
--- mc-1.5.ebuild 21 Jun 2011 15:12:17 -0000 1.3 |
53 |
+++ mc-1.5.ebuild 28 Feb 2012 12:57:17 -0000 1.4 |
54 |
@@ -1,10 +1,12 @@ |
55 |
-# Copyright 1999-2011 Gentoo Foundation |
56 |
+# Copyright 1999-2012 Gentoo Foundation |
57 |
# Distributed under the terms of the GNU General Public License v2 |
58 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/mc/mc-1.5.ebuild,v 1.3 2011/06/21 15:12:17 jlec Exp $ |
59 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/mc/mc-1.5.ebuild,v 1.4 2012/02/28 12:57:17 jlec Exp $ |
60 |
|
61 |
-EAPI="2" |
62 |
+EAPI=4 |
63 |
|
64 |
-inherit autotools eutils fortran-2 multilib |
65 |
+AUTOTOOLS_AUTORECONF=true |
66 |
+ |
67 |
+inherit autotools-utils fortran-2 multilib |
68 |
|
69 |
DESCRIPTION="2D/3D AFEM code for nonlinear geometric PDE" |
70 |
HOMEPAGE="http://fetk.org/codes/mc/index.html" |
71 |
@@ -13,7 +15,7 @@ |
72 |
SLOT="0" |
73 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
74 |
LICENSE="GPL-2" |
75 |
-IUSE="debug doc" |
76 |
+IUSE="debug doc static-libs" |
77 |
|
78 |
RDEPEND=" |
79 |
virtual/fortran |
80 |
@@ -24,7 +26,9 @@ |
81 |
sci-libs/gamer |
82 |
sci-libs/punc |
83 |
sci-libs/superlu |
84 |
- sci-libs/umfpack" |
85 |
+ sci-libs/umfpack |
86 |
+ virtual/blas |
87 |
+ virtual/lapack" |
88 |
DEPEND=" |
89 |
${RDEPEND} |
90 |
doc? ( |
91 |
@@ -33,26 +37,29 @@ |
92 |
|
93 |
S="${WORKDIR}"/${PN} |
94 |
|
95 |
+PATCHES=( |
96 |
+ "${FILESDIR}"/1.4-superlu.patch |
97 |
+ "${FILESDIR}"/1.4-overflow.patch |
98 |
+ "${FILESDIR}"/1.4-multilib.patch |
99 |
+ "${FILESDIR}"/1.4-doc.patch |
100 |
+ "${FILESDIR}"/${P}-unbundle.patch |
101 |
+ ) |
102 |
+ |
103 |
src_prepare() { |
104 |
- epatch \ |
105 |
- "${FILESDIR}"/1.4-superlu.patch \ |
106 |
- "${FILESDIR}"/1.4-overflow.patch \ |
107 |
- "${FILESDIR}"/1.4-multilib.patch \ |
108 |
- "${FILESDIR}"/1.4-doc.patch |
109 |
sed \ |
110 |
-e 's:AMD_order:amd_order:g' \ |
111 |
-e 's:UMFPACK_numeric:umfpack_di_numeric:g' \ |
112 |
-e 's:buildg_:matvec_:g' \ |
113 |
-i configure.ac || die |
114 |
- eautoreconf |
115 |
+ autotools-utils_src_prepare |
116 |
} |
117 |
|
118 |
src_configure() { |
119 |
local fetk_include |
120 |
local fetk_lib |
121 |
- local myconf |
122 |
+ local myeconfargs |
123 |
|
124 |
- use doc || myconf="${myconf} --with-doxygen= --with-dot=" |
125 |
+ use doc || myeconfargs+=( --with-doxygen= --with-dot= ) |
126 |
|
127 |
fetk_include="${EPREFIX}"/usr/include |
128 |
fetk_lib="${EPREFIX}"/usr/$(get_libdir) |
129 |
@@ -69,14 +76,11 @@ |
130 |
export FETK_CGCODE_LIBRARY="${fetk_lib}" |
131 |
export FETK_PMG_LIBRARY="${fetk_lib}" |
132 |
|
133 |
- econf \ |
134 |
- --docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
135 |
- $(use_enable debug vdebug) \ |
136 |
- --disable-triplet \ |
137 |
- --enable-shared \ |
138 |
- ${myconf} |
139 |
-} |
140 |
- |
141 |
-src_install() { |
142 |
- emake DESTDIR="${D}" install || die |
143 |
+ myeconfargs+=( |
144 |
+ --docdir="${EPREFIX}"/usr/share/doc/${PF} |
145 |
+ $(use_enable debug vdebug) |
146 |
+ --disable-triplet |
147 |
+ --enable-shared |
148 |
+ ) |
149 |
+ autotools-utils_src_configure |
150 |
} |
151 |
|
152 |
|
153 |
|
154 |
1.6 sci-libs/mc/ChangeLog |
155 |
|
156 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mc/ChangeLog?rev=1.6&view=markup |
157 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mc/ChangeLog?rev=1.6&content-type=text/plain |
158 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/mc/ChangeLog?r1=1.5&r2=1.6 |
159 |
|
160 |
Index: ChangeLog |
161 |
=================================================================== |
162 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/mc/ChangeLog,v |
163 |
retrieving revision 1.5 |
164 |
retrieving revision 1.6 |
165 |
diff -u -r1.5 -r1.6 |
166 |
--- ChangeLog 21 Jun 2011 15:12:17 -0000 1.5 |
167 |
+++ ChangeLog 28 Feb 2012 12:57:17 -0000 1.6 |
168 |
@@ -1,6 +1,11 @@ |
169 |
# ChangeLog for sci-libs/mc |
170 |
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
171 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/mc/ChangeLog,v 1.5 2011/06/21 15:12:17 jlec Exp $ |
172 |
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
173 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/mc/ChangeLog,v 1.6 2012/02/28 12:57:17 jlec Exp $ |
174 |
+ |
175 |
+ 28 Feb 2012; Justin Lecher <jlec@g.o> mc-1.5.ebuild, |
176 |
+ +files/mc-1.5-unbundle.patch, metadata.xml: |
177 |
+ Moved to autotools-utils, EAPI=4, fix blas/lapack detection and add |
178 |
+ USE=static-libs |
179 |
|
180 |
21 Jun 2011; Justin Lecher <jlec@g.o> mc-1.4.ebuild, mc-1.5.ebuild: |
181 |
Add dependency on virtual/fortran |