blob: 369e063f80bd44c6986b5b773723155dd7587647 (
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
51
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
AUTOTOOLS_AUTORECONF=1
FORTRAN_STANDARD=90
inherit autotools-utils fortran-2 git-2
DESCRIPTION="an experimental suite of programs for linear scaling quantum chemistry."
HOMEPAGE="http://www.freeon.org"
SRC_URI=""
EGIT_REPO_URI="http://git.savannah.gnu.org/r/freeon.git"
EGIT_BOOTSTRAP="fix_localversion.sh"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
RDEPEND="
sys-libs/zlib
sci-libs/hdf5
virtual/blas
virtual/lapack"
DEPEND="${DEPEND}
virtual/pkgconfig"
src_prepare() {
# Get rid of the obsolete internal hdf5
rm -r "${S}"/Modules/hdf5-1.8.3
# as well as of the internal lapack
rm -r "${S}"/Modules/lapack
epatch "${FILESDIR}"/"${P}"-no_internal_libs.patch
eautoreconf
}
src_configure() {
local myeconfargs=(
--disable-internal-hdf5
--disable-static-binaries
--disable-internal-lapack
--with-lapacklibs="$($(tc-getPKG_CONFIG) --libs lapack)"
)
#TODO mv BasisSets from /usr to /usr/share/freeon/
autotools-utils_src_configure
}
|