Gentoo Archives: gentoo-commits

From: Christoph Junghans <kleiner_otti@×××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sci:master commit in: sci-chemistry/gromacs/
Date: Fri, 30 Nov 2012 21:18:29
Message-Id: 1354309231.83882644554e19ff27159bbf60c8b0304c04724b.kleiner_otti@gentoo
1 commit: 83882644554e19ff27159bbf60c8b0304c04724b
2 Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org>
3 AuthorDate: Fri Nov 30 21:00:31 2012 +0000
4 Commit: Christoph Junghans <kleiner_otti <AT> gmx <DOT> de>
5 CommitDate: Fri Nov 30 21:00:31 2012 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=83882644
7
8 sync with gx86
9
10 Package-Manager: portage-2.2.0_alpha143
11
12 ---
13 sci-chemistry/gromacs/ChangeLog | 3 +++
14 sci-chemistry/gromacs/gromacs-4.6.9999.ebuild | 17 ++++++++++++-----
15 2 files changed, 15 insertions(+), 5 deletions(-)
16
17 diff --git a/sci-chemistry/gromacs/ChangeLog b/sci-chemistry/gromacs/ChangeLog
18 index 00923e8..2c90bf5 100644
19 --- a/sci-chemistry/gromacs/ChangeLog
20 +++ b/sci-chemistry/gromacs/ChangeLog
21 @@ -2,6 +2,9 @@
22 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
23 # $Header: $
24
25 + 30 Nov 2012; Christoph Junghans <ottxor@g.o> gromacs-4.6.9999.ebuild:
26 + sync with gx86
27 +
28 27 Nov 2012; Christoph Junghans <ottxor@g.o> gromacs-4.6.9999.ebuild,
29 metadata.xml:
30 added openmm support
31
32 diff --git a/sci-chemistry/gromacs/gromacs-4.6.9999.ebuild b/sci-chemistry/gromacs/gromacs-4.6.9999.ebuild
33 index 9b7b66f..f9efa61 100644
34 --- a/sci-chemistry/gromacs/gromacs-4.6.9999.ebuild
35 +++ b/sci-chemistry/gromacs/gromacs-4.6.9999.ebuild
36 @@ -5,6 +5,7 @@
37 EAPI=5
38
39 TEST_PV="4.0.4"
40 +MANUAL_PV="4.6-beta1"
41
42 #to find external blas/lapack
43 CMAKE_MIN_VERSION="2.8.5-r2"
44 @@ -24,7 +25,9 @@ if [[ $PV = *9999* ]]; then
45 inherit git-2
46 PDEPEND="doc? ( ~app-doc/gromacs-manual-${PV} )"
47 else
48 - SRC_URI="${SRC_URI} ftp://ftp.gromacs.org/pub/${PN}/${P}.tar.gz"
49 + S="${WORKDIR}/${P//_/-}"
50 + SRC_URI="${SRC_URI} ftp://ftp.gromacs.org/pub/${PN}/${P//_/-}.tar.gz
51 + doc? ( ftp://ftp.gromacs.org/pub/manual/gromacs-manual-${MANUAL_PV}.pdf )"
52 fi
53
54 ACCE_IUSE="fkernels power6 sse2 sse41 avx128fma avx256"
55 @@ -212,10 +215,14 @@ src_install() {
56 dodoc AUTHORS INSTALL* README*
57 if use doc; then
58 dohtml -r "${ED}usr/share/gromacs/html/"
59 - insinto /usr/share/gromacs
60 - doins "admin/programs.txt"
61 - ls -1 "${ED}"/usr/bin | sed -e '/_d$/d' > "${T}"/programs.list
62 - doins "${T}"/programs.list
63 + if [[ $PV = *9999* ]]; then
64 + insinto /usr/share/gromacs
65 + doins "admin/programs.txt"
66 + ls -1 "${ED}"/usr/bin | sed -e '/_d$/d' > "${T}"/programs.list
67 + doins "${T}"/programs.list
68 + else
69 + dodoc "${DISTDIR}/gromacs-manual-${MANUAL_PV}.pdf"
70 + fi
71 fi
72 rm -rf "${ED}usr/share/gromacs/html/"
73 }