aboutsummaryrefslogtreecommitdiff
blob: 5a948b960c7d52b2609d607877ee891285021090 (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
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

AUTOTOOLS_AUTORECONF=1
FORTRAN_STANDARD=90
PYTHON_COMPAT=( python{2_7,3_4} )

inherit autotools-utils fortran-2 git-r3 python-any-r1

DESCRIPTION="An experimental suite of programs for linear scaling quantum chemistry"
HOMEPAGE="http://www.freeon.org"
SRC_URI=""
EGIT_REPO_URI="https://github.com/FreeON/freeon.git"
EGIT_BRANCH="master"

LICENSE="GPL-3"
SLOT="live"
KEYWORDS=""
IUSE=""

RDEPEND="
	sci-libs/hdf5
	virtual/blas
	virtual/lapack"
DEPEND="${RDEPEND}
	${PYTHON_DEPS}"

src_prepare() {
	bash fix_localversion.sh || die
	autotools-utils_src_prepare
}

src_configure() {
	local myeconfargs=(
		"--enable-git-tag"
		"--prefix=/opt/freeon"
		"--mandir=/opt/freeon/share/man"
		"--infodir=/opt/freeon/share/info"
		"--datadir=/opt/freeon/share"
		"--sysconfdir=/opt/freeon/etc"
		"--libdir=/opt/freeon/lib64"
		"--docdir=/opt/freeon/share/doc"
	)
	autotools-utils_src_configure
}