From 1e5c68d5369eae6884ba8bbd91548aae56bc2ffb Mon Sep 17 00:00:00 2001 From: Christoph Junghans Date: Wed, 14 Oct 2020 09:09:00 -0600 Subject: sci-libs/libint: enable more features Package-Manager: Portage-2.3.103, Repoman-2.3.23 Signed-off-by: Christoph Junghans --- sci-libs/libint/libint-2.6.0-r1.ebuild | 57 ------------------------------- sci-libs/libint/libint-2.6.0-r2.ebuild | 62 ++++++++++++++++++++++++++++++++++ 2 files changed, 62 insertions(+), 57 deletions(-) delete mode 100644 sci-libs/libint/libint-2.6.0-r1.ebuild create mode 100644 sci-libs/libint/libint-2.6.0-r2.ebuild (limited to 'sci-libs/libint') diff --git a/sci-libs/libint/libint-2.6.0-r1.ebuild b/sci-libs/libint/libint-2.6.0-r1.ebuild deleted file mode 100644 index cdda6546357c..000000000000 --- a/sci-libs/libint/libint-2.6.0-r1.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools eutils fortran-2 toolchain-funcs - -DESCRIPTION="Matrix elements (integrals) evaluation over Cartesian Gaussian functions" -HOMEPAGE="https://github.com/evaleev/libint" -SRC_URI="https://github.com/evaleev/libint/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -SLOT="2" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="static-libs doc" - -DEPEND=" - dev-libs/boost - dev-libs/gmp[cxx] - doc? ( - dev-texlive/texlive-latex - dev-tex/latex2html - )" - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - --with-cxx=$(tc-getCXX) \ - --with-cxx-optflags="${CXXFLAGS}" \ - --with-cxxgen-optflags="${CXXFLAGS}" \ - --with-cxxdepend=$(tc-getCXX) \ - --with-ranlib=$(tc-getRANLIB) \ - --with-ar=$(tc-getAR) \ - --with-ld=$(tc-getLD) \ - --enable-eri3=1 - $(use_enable static-libs static) -} - -src_compile() { - emake LDFLAGS="${LDFLAGS}" - - use doc && emake html pdf -} - -src_install() { - default - - if use doc; then - DOCS=( doc/progman/progman.pdf ) - HTML_DOCS=( doc/progman/progman/*.{html,png,css} ) - einstalldocs - fi -} diff --git a/sci-libs/libint/libint-2.6.0-r2.ebuild b/sci-libs/libint/libint-2.6.0-r2.ebuild new file mode 100644 index 000000000000..0297d5bfea81 --- /dev/null +++ b/sci-libs/libint/libint-2.6.0-r2.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools eutils fortran-2 toolchain-funcs + +DESCRIPTION="Matrix elements (integrals) evaluation over Cartesian Gaussian functions" +HOMEPAGE="https://github.com/evaleev/libint" +SRC_URI="https://github.com/evaleev/libint/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="2" +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="static-libs doc" + +DEPEND=" + dev-libs/boost + dev-libs/gmp[cxx] + doc? ( + dev-texlive/texlive-latex + dev-tex/latex2html + )" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --with-cxx=$(tc-getCXX) \ + --with-cxx-optflags="${CXXFLAGS}" \ + --with-cxxgen-optflags="${CXXFLAGS}" \ + --with-cxxdepend=$(tc-getCXX) \ + --with-ranlib=$(tc-getRANLIB) \ + --with-ar=$(tc-getAR) \ + --with-ld=$(tc-getLD) \ + --enable-eri=2 --enable-eri3=2 --enable-eri2=2 \ + --with-eri-max-am=7,5,4 --with-eri-opt-am=3 \ + --with-eri3-max-am=7 --with-eri2-max-am=7 \ + --with-g12-max-am=5 --with-g12-opt-am=3 \ + --with-g12dkh-max-am=5 --with-g12dkh-opt-am=3 \ + --enable-contracted-ints \ + $(use_enable static-libs static) +} + +src_compile() { + emake LDFLAGS="${LDFLAGS}" + + use doc && emake html pdf +} + +src_install() { + default + + if use doc; then + DOCS=( doc/progman/progman.pdf ) + HTML_DOCS=( doc/progman/progman/*.{html,png,css} ) + einstalldocs + fi +} -- cgit v1.2.3-65-gdbad