Gentoo Archives: gentoo-commits

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