1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 AUTOTOOLS_AUTORECONF=true
8 inherit autotools-utils fortran-2 toolchain-funcs versionator
10 MY_PV="$(replace_all_version_separators -)"
12 DESCRIPTION="Matrix elements (integrals) evaluation over Cartesian Gaussian functions"
13 HOMEPAGE="https://github.com/evaleev/libint"
14 SRC_URI="https://github.com/evaleev/libint/archive/release-${MY_PV}.tar.gz -> ${P}.tar.gz"
18 KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
21 S="${WORKDIR}/${PN}-release-${MY_PV}"
23 PATCHES=( "${FILESDIR}"/${P}-as-needed.patch )
26 mv configure.{in,ac} || die
27 autotools-utils_src_prepare
35 --with-cxx=$(tc-getCXX)
36 --with-cc-optflags="${CFLAGS}"
37 --with-cxx-optflags="${CXXFLAGS}"
39 autotools-utils_src_configure