1 |
jlec 10/11/01 17:25:23 |
2 |
|
3 |
Modified: metadata.xml ChangeLog apbs-1.3.ebuild |
4 |
Log: |
5 |
Include support for FETK |
6 |
|
7 |
(Portage version: 2.2.0_alpha3/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.10 sci-chemistry/apbs/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/metadata.xml?rev=1.10&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/metadata.xml?rev=1.10&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/metadata.xml?r1=1.9&r2=1.10 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/metadata.xml,v |
19 |
retrieving revision 1.9 |
20 |
retrieving revision 1.10 |
21 |
diff -u -r1.9 -r1.10 |
22 |
--- metadata.xml 29 Oct 2010 16:53:32 -0000 1.9 |
23 |
+++ metadata.xml 1 Nov 2010 17:25:22 -0000 1.10 |
24 |
@@ -13,6 +13,7 @@ |
25 |
</maintainer> |
26 |
<use> |
27 |
<flag name='arpack'>Include support for arpack libs</flag> |
28 |
+ <flag name='fetk'>Include support for FeTK</flag> |
29 |
<flag name='tools'>Install optional tools</flag> |
30 |
</use> |
31 |
<longdescription> |
32 |
|
33 |
|
34 |
|
35 |
1.43 sci-chemistry/apbs/ChangeLog |
36 |
|
37 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/ChangeLog?rev=1.43&view=markup |
38 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/ChangeLog?rev=1.43&content-type=text/plain |
39 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/ChangeLog?r1=1.42&r2=1.43 |
40 |
|
41 |
Index: ChangeLog |
42 |
=================================================================== |
43 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v |
44 |
retrieving revision 1.42 |
45 |
retrieving revision 1.43 |
46 |
diff -u -r1.42 -r1.43 |
47 |
--- ChangeLog 31 Oct 2010 09:43:48 -0000 1.42 |
48 |
+++ ChangeLog 1 Nov 2010 17:25:22 -0000 1.43 |
49 |
@@ -1,6 +1,11 @@ |
50 |
# ChangeLog for sci-chemistry/apbs |
51 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
52 |
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v 1.42 2010/10/31 09:43:48 jlec Exp $ |
53 |
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v 1.43 2010/11/01 17:25:22 jlec Exp $ |
54 |
+ |
55 |
+ 01 Nov 2010; Justin Lecher <jlec@g.o> apbs-1.3.ebuild, |
56 |
+ +files/apbs-1.3-mainroutines.patch, files/apbs-1.3-shared.patch, |
57 |
+ metadata.xml: |
58 |
+ Include support for FETK |
59 |
|
60 |
31 Oct 2010; Justin Lecher <jlec@g.o> apbs-1.3.ebuild: |
61 |
Make einfo on parallel python and mpi support |
62 |
|
63 |
|
64 |
|
65 |
1.3 sci-chemistry/apbs/apbs-1.3.ebuild |
66 |
|
67 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/apbs-1.3.ebuild?rev=1.3&view=markup |
68 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/apbs-1.3.ebuild?rev=1.3&content-type=text/plain |
69 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/apbs/apbs-1.3.ebuild?r1=1.2&r2=1.3 |
70 |
|
71 |
Index: apbs-1.3.ebuild |
72 |
=================================================================== |
73 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/apbs-1.3.ebuild,v |
74 |
retrieving revision 1.2 |
75 |
retrieving revision 1.3 |
76 |
diff -u -r1.2 -r1.3 |
77 |
--- apbs-1.3.ebuild 31 Oct 2010 09:43:48 -0000 1.2 |
78 |
+++ apbs-1.3.ebuild 1 Nov 2010 17:25:22 -0000 1.3 |
79 |
@@ -1,6 +1,6 @@ |
80 |
# Copyright 1999-2010 Gentoo Foundation |
81 |
# Distributed under the terms of the GNU General Public License v2 |
82 |
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/apbs-1.3.ebuild,v 1.2 2010/10/31 09:43:48 jlec Exp $ |
83 |
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/apbs-1.3.ebuild,v 1.3 2010/11/01 17:25:22 jlec Exp $ |
84 |
|
85 |
EAPI="3" |
86 |
|
87 |
@@ -18,13 +18,22 @@ |
88 |
|
89 |
SLOT="0" |
90 |
LICENSE="BSD" |
91 |
-IUSE="arpack doc mpi openmp python tools" |
92 |
+IUSE="arpack doc fetk mpi openmp python tools" |
93 |
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" |
94 |
|
95 |
-DEPEND="dev-libs/maloc[mpi=] |
96 |
+DEPEND=" |
97 |
+ dev-libs/maloc[mpi=] |
98 |
virtual/blas |
99 |
sys-libs/readline |
100 |
arpack? ( sci-libs/arpack ) |
101 |
+ fetk? ( |
102 |
+ media-libs/sg |
103 |
+ sci-libs/amd |
104 |
+ sci-libs/punc |
105 |
+ sci-libs/mc |
106 |
+ sci-libs/gamer |
107 |
+ sci-libs/umfpack |
108 |
+ sci-libs/superlu ) |
109 |
mpi? ( virtual/mpi )" |
110 |
RDEPEND="${DEPEND}" |
111 |
|
112 |
@@ -37,6 +46,12 @@ |
113 |
einfo "mpi and python support are incompatible" |
114 |
einfo "Disabling USE=python" |
115 |
fi |
116 |
+ if [[ -z ${MAXMEM} ]]; then |
117 |
+ einfo "You can specify the max amount of RAM used" |
118 |
+ einfo "by setting MAXMEM=\"your size in MB\"" |
119 |
+ else |
120 |
+ einfo "Settings max memory usage to ${MAXMEM} MB" |
121 |
+ fi |
122 |
} |
123 |
|
124 |
src_prepare() { |
125 |
@@ -48,11 +63,13 @@ |
126 |
"${FILESDIR}"/${PN}-1.2.1b-autoconf-2.64.patch \ |
127 |
"${FILESDIR}"/${P}-shared.patch \ |
128 |
"${FILESDIR}"/${PN}-1.2.1b-multilib.patch \ |
129 |
- "${FILESDIR}"/${PN}-1.2.1b-parallelbuild.patch |
130 |
+ "${FILESDIR}"/${PN}-1.2.1b-parallelbuild.patch \ |
131 |
+ "${FILESDIR}"/${P}-mainroutines.patch |
132 |
sed "s:GENTOO_PKG_NAME:${PN}:g" \ |
133 |
-i Makefile.am || die "Cannot correct package name" |
134 |
# this test is broken |
135 |
sed '/ion-pmf/d' -i examples/Makefile.am || die |
136 |
+ sed 's:libmaloc.a:libmaloc.so:g' -i configure.ac || die |
137 |
eautoreconf |
138 |
find . -name "._*" -exec rm -f '{}' \; |
139 |
} |
140 |
@@ -80,6 +97,14 @@ |
141 |
myconf="${myconf} --enable-tools" |
142 |
fi |
143 |
|
144 |
+ if use fetk; then |
145 |
+ myconf="${myconf} --with-fetk-include=${EPREFIX}/usr/include --with-fetk-library=${EPREFIX}/usr/$(get_libdir)" |
146 |
+ else |
147 |
+ myconf="${myconf} --disable-fetk" |
148 |
+ fi |
149 |
+ |
150 |
+ [[ -n ${MAXMEM} ]] && myconf="${myconf} --with-maxmem=${MAXMEM}" |
151 |
+ |
152 |
econf \ |
153 |
--disable-maloc-rebuild \ |
154 |
--enable-shared \ |