1 |
markusle 08/04/29 22:21:19 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: apbs-1.0.0.ebuild |
5 |
Log: |
6 |
Version bump (fixes bug #219599). Changed license to BSD since it most closely matches the apbs license. |
7 |
(Portage version: 2.1.5_rc6) |
8 |
|
9 |
Revision Changes Path |
10 |
1.18 sci-chemistry/apbs/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/ChangeLog?rev=1.18&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/ChangeLog?rev=1.18&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/ChangeLog?r1=1.17&r2=1.18 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v |
19 |
retrieving revision 1.17 |
20 |
retrieving revision 1.18 |
21 |
diff -u -r1.17 -r1.18 |
22 |
--- ChangeLog 23 Mar 2008 11:39:18 -0000 1.17 |
23 |
+++ ChangeLog 29 Apr 2008 22:21:19 -0000 1.18 |
24 |
@@ -1,6 +1,15 @@ |
25 |
# ChangeLog for sci-chemistry/apbs |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v 1.17 2008/03/23 11:39:18 markusle Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/ChangeLog,v 1.18 2008/04/29 22:21:19 markusle Exp $ |
29 |
+ |
30 |
+*apbs-1.0.0 (29 Apr 2008) |
31 |
+ |
32 |
+ 29 Apr 2008; Markus Dittrich <markusle@g.o> |
33 |
+ +files/apbs-1.0.0-install-fix.patch, |
34 |
+ +files/apbs-1.0.0-libmaloc-noinstall.patch, |
35 |
+ +files/apbs-1.0.0-openmpi.patch, +apbs-1.0.0.ebuild: |
36 |
+ Version bump (fixes bug #219599). Changed license to BSD since |
37 |
+ it most closely matches the apbs license. |
38 |
|
39 |
23 Mar 2008; Markus Dittrich <markusle@g.o> apbs-0.5.1.ebuild: |
40 |
Changed to unversioned install location in /usr/share (see bug #213616). |
41 |
|
42 |
|
43 |
|
44 |
1.1 sci-chemistry/apbs/apbs-1.0.0.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/apbs-1.0.0.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-chemistry/apbs/apbs-1.0.0.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: apbs-1.0.0.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2008 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/apbs/apbs-1.0.0.ebuild,v 1.1 2008/04/29 22:21:19 markusle Exp $ |
54 |
|
55 |
inherit eutils fortran autotools |
56 |
|
57 |
MY_P="${P}-source" |
58 |
S="${WORKDIR}"/"${MY_P}" |
59 |
|
60 |
DESCRIPTION=" Software for evaluating the electrostatic properties of nanoscale biomolecular systems" |
61 |
LICENSE="BSD" |
62 |
HOMEPAGE="http://agave.wustl.edu/apbs/" |
63 |
SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" |
64 |
|
65 |
SLOT="0" |
66 |
IUSE="blas mpi python doc" |
67 |
KEYWORDS="~ppc ~x86 ~amd64" |
68 |
|
69 |
DEPEND="blas? ( virtual/blas ) |
70 |
python? ( dev-lang/python ) |
71 |
sys-libs/readline |
72 |
mpi? ( virtual/mpi )" |
73 |
|
74 |
FORTRAN="g77 gfortran" |
75 |
|
76 |
pkg_setup() { |
77 |
# It is important that you use the same compiler to compile |
78 |
# APBS that you used when compiling MPI. |
79 |
fortran_pkg_setup |
80 |
} |
81 |
|
82 |
src_unpack() { |
83 |
unpack ${A} |
84 |
cd "${S}" |
85 |
epatch "${FILESDIR}"/${P}-openmpi.patch |
86 |
epatch "${FILESDIR}"/${P}-install-fix.patch |
87 |
epatch "${FILESDIR}"/${P}-libmaloc-noinstall.patch |
88 |
|
89 |
sed -e "s:GENTOO_PKG_NAME:${PN}:" -i Makefile.am \ |
90 |
|| die "Failed to fix Makefile.am" |
91 |
|
92 |
eautoreconf |
93 |
} |
94 |
|
95 |
src_compile() { |
96 |
local myconf |
97 |
use blas && myconf="${myconf} --with-blas=-lblas" |
98 |
|
99 |
# check which mpi version is installed and tell configure |
100 |
if use mpi; then |
101 |
if has_version sys-cluster/mpich; then |
102 |
myconf="${myconf} --with-mpich=/usr" |
103 |
elif has_version sys-cluster/mpich2; then |
104 |
myconf="${myconf} --with-mpich2=/usr" |
105 |
elif has_version sys-cluster/lam-mpi; then |
106 |
myconf="${myconf} --with-lam=/usr" |
107 |
elif has_version sys-cluster/openmpi; then |
108 |
myconf="${myconf} --with-openmpi=/usr" |
109 |
fi |
110 |
fi || die "Failed to select proper mpi implementation" |
111 |
|
112 |
econf $(use_enable python) \ |
113 |
${myconf} || die "configure failed" |
114 |
|
115 |
emake -j1 || die "make failed" |
116 |
} |
117 |
|
118 |
src_test() { |
119 |
cd examples && make test \ |
120 |
|| die "Tests failed" |
121 |
} |
122 |
|
123 |
|
124 |
src_install() { |
125 |
make DESTDIR="${D}" install || die "make install failed" |
126 |
} |
127 |
|
128 |
|
129 |
|
130 |
-- |
131 |
gentoo-commits@l.g.o mailing list |