From: | "Christoph Junghans (ottxor)" <ottxor@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-libs/votca-tools: ChangeLog votca-tools-1.2.2.ebuild |
Date: | Wed, 11 Jan 2012 03:55:25 |
Message-Id: | 20120111035511.6787320033@flycatcher.gentoo.org |
1 | ottxor 12/01/11 03:55:11 |
2 | |
3 | Modified: ChangeLog |
4 | Added: votca-tools-1.2.2.ebuild |
5 | Log: |
6 | version bump |
7 | |
8 | (Portage version: 2.2.0_alpha84/cvs/Linux i686) |
9 | |
10 | Revision Changes Path |
11 | 1.11 sci-libs/votca-tools/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/votca-tools/ChangeLog?rev=1.11&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/votca-tools/ChangeLog?rev=1.11&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/votca-tools/ChangeLog?r1=1.10&r2=1.11 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sci-libs/votca-tools/ChangeLog,v |
20 | retrieving revision 1.10 |
21 | retrieving revision 1.11 |
22 | diff -u -r1.10 -r1.11 |
23 | --- ChangeLog 14 Dec 2011 17:02:21 -0000 1.10 |
24 | +++ ChangeLog 11 Jan 2012 03:55:11 -0000 1.11 |
25 | @@ -1,6 +1,12 @@ |
26 | # ChangeLog for sci-libs/votca-tools |
27 | -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sci-libs/votca-tools/ChangeLog,v 1.10 2011/12/14 17:02:21 ago Exp $ |
29 | +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/sci-libs/votca-tools/ChangeLog,v 1.11 2012/01/11 03:55:11 ottxor Exp $ |
31 | + |
32 | +*votca-tools-1.2.2 (11 Jan 2012) |
33 | + |
34 | + 11 Jan 2012; Christoph Junghans <ottxor@g.o> |
35 | + +votca-tools-1.2.2.ebuild: |
36 | + version bump |
37 | |
38 | 14 Dec 2011; Agostino Sarubbo <ago@g.o> votca-tools-1.2.1.ebuild: |
39 | Stable for AMD64, wrt bug #389681 |
40 | |
41 | |
42 | |
43 | 1.1 sci-libs/votca-tools/votca-tools-1.2.2.ebuild |
44 | |
45 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/votca-tools/votca-tools-1.2.2.ebuild?rev=1.1&view=markup |
46 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/votca-tools/votca-tools-1.2.2.ebuild?rev=1.1&content-type=text/plain |
47 | |
48 | Index: votca-tools-1.2.2.ebuild |
49 | =================================================================== |
50 | # Copyright 1999-2012 Gentoo Foundation |
51 | # Distributed under the terms of the GNU General Public License v2 |
52 | # $Header: /var/cvsroot/gentoo-x86/sci-libs/votca-tools/votca-tools-1.2.2.ebuild,v 1.1 2012/01/11 03:55:11 ottxor Exp $ |
53 | |
54 | EAPI="3" |
55 | |
56 | inherit cmake-utils eutils multilib |
57 | |
58 | if [ "${PV}" != "9999" ]; then |
59 | SRC_URI="system-boost? ( http://votca.googlecode.com/files/${PF}_pristine.tar.gz ) |
60 | !system-boost? ( http://votca.googlecode.com/files/${PF}.tar.gz )" |
61 | RESTRICT="primaryuri" |
62 | else |
63 | SRC_URI="" |
64 | inherit mercurial |
65 | EHG_REPO_URI="https://tools.votca.googlecode.com/hg" |
66 | EHG_REVISION="default" |
67 | S="${WORKDIR}/${EHG_REPO_URI##*/}" |
68 | fi |
69 | |
70 | DESCRIPTION="Votca tools library" |
71 | HOMEPAGE="http://www.votca.org" |
72 | |
73 | LICENSE="Apache-2.0" |
74 | SLOT="0" |
75 | KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-macos" |
76 | IUSE="doc +fftw +gsl sqlite +system-boost" |
77 | |
78 | RDEPEND="fftw? ( sci-libs/fftw:3.0 ) |
79 | dev-libs/expat |
80 | gsl? ( sci-libs/gsl ) |
81 | system-boost? ( dev-libs/boost ) |
82 | sqlite? ( dev-db/sqlite:3 )" |
83 | |
84 | DEPEND="${RDEPEND} |
85 | doc? ( app-doc/doxygen[-nodot] ) |
86 | >=app-text/txt2tags-2.5 |
87 | dev-util/pkgconfig" |
88 | |
89 | src_prepare() { |
90 | use gsl || ewarn "Disabling gsl will lead to reduced functionality" |
91 | use fftw || ewarn "Disabling fftw will lead to reduced functionality" |
92 | |
93 | #remove bundled libs |
94 | if use system-boost; then |
95 | rm -rf src/libboost |
96 | fi |
97 | } |
98 | |
99 | src_configure() { |
100 | mycmakeargs=( |
101 | $(cmake-utils_use system-boost EXTERNAL_BOOST) |
102 | $(cmake-utils_use_with gsl GSL) |
103 | $(cmake-utils_use_with fftw FFTW) |
104 | $(cmake-utils_use_with sqlite SQLITE3) |
105 | -DWITH_RC_FILES=OFF |
106 | -DLIB=$(get_libdir) |
107 | ) |
108 | cmake-utils_src_configure || die |
109 | } |
110 | |
111 | src_install() { |
112 | DOCS=(${CMAKE_BUILD_DIR}/CHANGELOG NOTICE) |
113 | cmake-utils_src_install || die |
114 | if use doc; then |
115 | cd "${CMAKE_BUILD_DIR}" || die |
116 | cd share/doc || die |
117 | doxygen || die |
118 | dohtml -r html/* || die |
119 | fi |
120 | } |