blob: 22e57233b82f199a1d9ce1b2041775da0c728d33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit cmake-utils fortran-2 multilib
IUSE="+dipro +system-boost"
if [ "${PV}" != "9999" ]; then
SRC_URI="http://votca.googlecode.com/files/${PF}.tar.gz"
RESTRICT="primaryuri"
else
SRC_URI=""
inherit mercurial
EHG_REPO_URI="https://ctp.votca-ctp.googlecode.com/hg"
EHG_REVISION="default"
S="${WORKDIR}/${EHG_REPO_URI##*/}"
fi
DESCRIPTION="Votca charge transport code"
HOMEPAGE="http://www.votca.org"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~x86 ~amd64"
RDEPEND="=sci-libs/votca-tools-${PV}[system-boost=]
=sci-chemistry/votca-csg-${PV}
=sci-chemistry/votca-moo-${PV}
dipro? ( virtual/fortran
virtual/lapack )"
DEPEND="${RDEPEND}
dev-util/pkgconfig"
DOCS=( README NOTICE )
pkg_setup() {
use dipro && fortran-2_pkg_setup
}
src_configure() {
mycmakeargs=(
$(cmake-utils_use system-boost EXTERNAL_BOOST)
$(cmake-utils_use_with dipro DIPRO)
-DLIB=$(get_libdir)
)
cmake-utils_src_configure
}
|