Gentoo Archives: gentoo-commits

From: "Michael Januszewski (spock)" <spock@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-mathematics/xmds: ChangeLog xmds-1.6.6.ebuild
Date: Wed, 10 Sep 2008 21:14:36
Message-Id: E1KdX1F-0001Ga-H9@stork.gentoo.org
1 spock 08/09/10 21:14:33
2
3 Modified: ChangeLog
4 Added: xmds-1.6.6.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.2_rc8/cvs/Linux 2.6.27-rc5 x86_64)
8
9 Revision Changes Path
10 1.7 sci-mathematics/xmds/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/xmds/ChangeLog?rev=1.7&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/xmds/ChangeLog?rev=1.7&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/xmds/ChangeLog?r1=1.6&r2=1.7
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/sci-mathematics/xmds/ChangeLog,v
19 retrieving revision 1.6
20 retrieving revision 1.7
21 diff -u -r1.6 -r1.7
22 --- ChangeLog 9 Sep 2008 21:04:03 -0000 1.6
23 +++ ChangeLog 10 Sep 2008 21:14:32 -0000 1.7
24 @@ -1,6 +1,11 @@
25 # ChangeLog for sci-mathematics/xmds
26 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/xmds/ChangeLog,v 1.6 2008/09/09 21:04:03 spock Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/sci-mathematics/xmds/ChangeLog,v 1.7 2008/09/10 21:14:32 spock Exp $
29 +
30 +*xmds-1.6.6 (10 Sep 2008)
31 +
32 + 10 Sep 2008; Michał Januszewski <spock@g.o> +xmds-1.6.6.ebuild:
33 + Version bump.
34
35 09 Sep 2008; Michał Januszewski <spock@g.o> -xmds-1.6.4.ebuild:
36 Remove an old ebuild.
37
38
39
40 1.1 sci-mathematics/xmds/xmds-1.6.6.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/xmds/xmds-1.6.6.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-mathematics/xmds/xmds-1.6.6.ebuild?rev=1.1&content-type=text/plain
44
45 Index: xmds-1.6.6.ebuild
46 ===================================================================
47 # Copyright 1999-2008 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/sci-mathematics/xmds/xmds-1.6.6.ebuild,v 1.1 2008/09/10 21:14:32 spock Exp $
50
51 inherit eutils
52
53 doc_ver=20080226
54
55 DESCRIPTION="XMDS - The eXtensible Multi-Dimensional Simulator"
56 HOMEPAGE="http://www.xmds.org"
57 SRC_URI="mirror://sourceforge/xmds/${P}.tar.gz
58 doc? ( mirror://sourceforge/xmds/xmds_doc_${doc_ver}.pdf )"
59 LICENSE="GPL-2"
60 SLOT="0"
61 KEYWORDS="~amd64 ~x86"
62 IUSE="doc examples mpi threads"
63
64 DEPEND="sci-libs/fftw
65 mpi? ( virtual/mpi )"
66
67 src_compile() {
68 local my_opts=""
69
70 if has_version "=sci-libs/fftw-3*" ; then
71 my_opts="${my_opts} --enable-fftw3"
72 fi
73
74 econf \
75 $(use_enable mpi) \
76 $(use_enable threads) \
77 ${my_opts} || die
78 emake || die
79 }
80
81 src_install() {
82 make DESTDIR="${D}" install || die
83
84 if use doc; then
85 insinto /usr/share/doc/${PF}
86 doins "${DISTDIR}/xmds_doc_${doc_ver}.pdf"
87 fi
88
89 if use examples; then
90 insinto /usr/share/doc/${PF}/examples
91 for i in "${D}"/usr/share/doc/${PN}/examples/* ; do
92 doins "$i"
93 done
94 fi
95
96 rm -rf "${D}/usr/share/doc/${PN}/examples"
97 }