From: | "Christoph Junghans (ottxor)" <ottxor@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-chemistry/votca-csg: ChangeLog votca-csg-1.1.2.ebuild |
Date: | Mon, 04 Apr 2011 20:05:42 |
Message-Id: | 20110404200531.E8D7F20054@flycatcher.gentoo.org |
1 | ottxor 11/04/04 20:05:31 |
2 | |
3 | Modified: ChangeLog |
4 | Added: votca-csg-1.1.2.ebuild |
5 | Log: |
6 | [sci-chemistry/votca-csg] Version bump |
7 | |
8 | (Portage version: 2.1.9.42/cvs/Linux i686) |
9 | |
10 | Revision Changes Path |
11 | 1.4 sci-chemistry/votca-csg/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/votca-csg/ChangeLog?rev=1.4&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/votca-csg/ChangeLog?rev=1.4&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/votca-csg/ChangeLog?r1=1.3&r2=1.4 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sci-chemistry/votca-csg/ChangeLog,v |
20 | retrieving revision 1.3 |
21 | retrieving revision 1.4 |
22 | diff -u -r1.3 -r1.4 |
23 | --- ChangeLog 9 Mar 2011 22:12:21 -0000 1.3 |
24 | +++ ChangeLog 4 Apr 2011 20:05:31 -0000 1.4 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for sci-chemistry/votca-csg |
27 | # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/votca-csg/ChangeLog,v 1.3 2011/03/09 22:12:21 ottxor Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/votca-csg/ChangeLog,v 1.4 2011/04/04 20:05:31 ottxor Exp $ |
30 | + |
31 | +*votca-csg-1.1.2 (04 Apr 2011) |
32 | + |
33 | + 04 Apr 2011; Christoph Junghans <ottxor@g.o> +votca-csg-1.1.2.ebuild: |
34 | + Version bump |
35 | |
36 | 09 Mar 2011; Christoph Junghans <ottxor@g.o> votca-csg-1.1.1.ebuild: |
37 | added ~amd64 (bug #357983) |
38 | |
39 | |
40 | |
41 | 1.1 sci-chemistry/votca-csg/votca-csg-1.1.2.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/votca-csg/votca-csg-1.1.2.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-chemistry/votca-csg/votca-csg-1.1.2.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: votca-csg-1.1.2.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2011 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/sci-chemistry/votca-csg/votca-csg-1.1.2.ebuild,v 1.1 2011/04/04 20:05:31 ottxor Exp $ |
51 | |
52 | EAPI="3" |
53 | |
54 | inherit autotools-utils bash-completion |
55 | |
56 | MANUAL_PV=1.1 |
57 | if [ "${PV}" != "9999" ]; then |
58 | SRC_URI="http://votca.googlecode.com/files/${PF}.tar.gz |
59 | doc? ( http://votca.googlecode.com/files/votca-manual-${MANUAL_PV}.pdf )" |
60 | RESTRICT="primaryuri" |
61 | else |
62 | SRC_URI="" |
63 | inherit mercurial |
64 | EHG_REPO_URI="https://csg.votca.googlecode.com/hg" |
65 | S="${WORKDIR}/${EHG_REPO_URI##*/}" |
66 | PDEPEND="doc? ( =app-doc/votca-manual-${PV} )" |
67 | fi |
68 | |
69 | DESCRIPTION="Votca coarse-graining engine" |
70 | HOMEPAGE="http://www.votca.org" |
71 | |
72 | LICENSE="Apache-2.0" |
73 | SLOT="0" |
74 | KEYWORDS="~amd64 ~x86" |
75 | IUSE="doc +gromacs static-libs" |
76 | |
77 | RDEPEND="=sci-libs/votca-tools-${PV} |
78 | gromacs? ( >=sci-chemistry/gromacs-4.0.7-r5 ) |
79 | dev-lang/perl |
80 | app-shells/bash" |
81 | |
82 | DEPEND="${RDEPEND} |
83 | doc? ( app-doc/doxygen[-nodot] ) |
84 | >=app-text/txt2tags-2.5 |
85 | dev-util/pkgconfig" |
86 | |
87 | src_prepare() { |
88 | #from bootstrap.sh |
89 | if [ -z "${PV##*9999}" ]; then |
90 | emake -C share/scripts/inverse -f Makefile.am.in Makefile.am || die |
91 | fi |
92 | |
93 | eautoreconf || die "eautoreconf failed" |
94 | } |
95 | |
96 | src_configure() { |
97 | local libgmx |
98 | |
99 | #in >gromacs-4.5 libgmx was renamed to libgromacs |
100 | has_version =sci-chemistry/gromacs-9999 && libgmx="libgromacs" || libgmx="libgmx" |
101 | #prefer gromacs double-precision if it is there |
102 | has_version sci-chemistry/gromacs[double-precision] && libgmx="${libgmx}_d" |
103 | |
104 | myeconfargs=( ${myconf} --disable-rc-files $(use_with gromacs libgmx $libgmx) ) |
105 | autotools-utils_src_configure || die |
106 | } |
107 | |
108 | src_install() { |
109 | DOCS=(README NOTICE ${AUTOTOOLS_BUILD_DIR}/CHANGELOG) |
110 | dobashcompletion scripts/csg-completion.bash ${PN} || die |
111 | autotools-utils_src_install || die |
112 | if use doc; then |
113 | if [ -n "${PV##*9999}" ]; then |
114 | dodoc "${DISTDIR}/votca-manual-${MANUAL_PV}.pdf" || die |
115 | fi |
116 | cd share/doc || die |
117 | doxygen || die |
118 | dohtml -r html/* || die |
119 | fi |
120 | } |
121 | |
122 | pkg_postinst() { |
123 | elog |
124 | elog "Please read and cite:" |
125 | elog "VOTCA, J. Chem. Theory Comput. 5, 3211 (2009). " |
126 | elog "http://dx.doi.org/10.1021/ct900369w" |
127 | elog |
128 | bash-completion_pkg_postinst |
129 | } |