diff options
Diffstat (limited to 'sci-libs/libint')
-rw-r--r-- | sci-libs/libint/Manifest | 3 | ||||
-rw-r--r-- | sci-libs/libint/libint-2.6.0-r2.ebuild | 1 | ||||
-rw-r--r-- | sci-libs/libint/libint-2.6.0-r4.ebuild | 66 |
3 files changed, 69 insertions, 1 deletions
diff --git a/sci-libs/libint/Manifest b/sci-libs/libint/Manifest index 9c30d0424b33..fc4289ad736a 100644 --- a/sci-libs/libint/Manifest +++ b/sci-libs/libint/Manifest @@ -2,5 +2,6 @@ AUX libint-1.1.6-as-needed.patch 2733 BLAKE2B 9ffec6e80030c1226387f51fb3e0409d22 DIST libint-1.1.6.tar.gz 256404 BLAKE2B c754e25f0c3bc6c52eb434beafd2cb794a2e715003ee9409d76e8ae06e0ce19a42a9331ad4db9be2745d6820e7248210d10b4c004146e99192fd16fd2c31966d SHA512 cb39d73e89431c324e32d4a71593fe913c7ae2132677d4600e63ce1ed99e8e431758f0aa3d130991da841e98a1064fa931eb0e82dbe80af4c0ece10ee3a4f2d7 DIST libint-2.6.0.tar.gz 24743255 BLAKE2B 3ab7baba012828485c6c8425bce100e1ab50d2a3c8443ea2ef5cf173d58d8aa211a07e837b10a7f89d7e57f2e15b9384060bbf7b9885f32e9426525e65e15960 SHA512 56343c64b0dfb829702f4bb2fe14a04ad063acd7cb8b5a21cd1a45a830944c1ee98c888c9a28d6746b1bc17459aefcfb0aafe6ef310bfe554056212ad19e43ef EBUILD libint-1.1.6.ebuild 874 BLAKE2B 334ebcd9d4a9a076197af69a0ce563173ba550917c4edb5427010355873716d2210d46e978e97078926cf280914129ff61fdf8d399f743d182bad68145cdb542 SHA512 0a8a04f2416c199d9c346d02cd11011cf3558f04d9c141a67b073cd9ecf2b77cace9ff8eda1b3a6e611a018ad235e5febd6a62e2d1a809444952a191c2f20210 -EBUILD libint-2.6.0-r2.ebuild 1408 BLAKE2B 7cca957dcd7de7df144a8350885cfce49f908f2b5da4359cd6e8bb18400f619fd8d05fe50a00259a62f49c33a056405a889129c4300531753c920a149339f791 SHA512 d9751f547c86c9e55df05791a93f86acc08f3e6fd4854dd45e667bdab6dcf107d38f1a9e19c8680836d24bef357a2de92c25fb8088a08d995988bb6b51d3d546 +EBUILD libint-2.6.0-r2.ebuild 1426 BLAKE2B c26877836d578b3150173e448e037a992e8004a7b70af600a1a8e809e872f0d787f180b4db07f5c9a6f21f8469878c53d9736f3feede1b332dc2fe33c9e52f2c SHA512 9aeb3443d6c29ffa8f4c2e7444d7ed1910235a6fc98f5d7e388ff3d59420526eb95071326c0bbeb6d7607f543fcaf27779c21b2289351e729674c84aba877218 +EBUILD libint-2.6.0-r4.ebuild 1534 BLAKE2B 3553b5e79439d2af424f68d2a16d656c1049cf80eff638615f6fa0efd44964b65495a15d1366f47b3b6989e8635b74cb45e33bea461ed30a48a65cbf23827074 SHA512 a1a703f45c644ac79ad24283f30d311adb7edf3d702bc14059b3c1b18bb6679630304d45f144dbaf0ae0730430b877d13d2e2e3851c2494ebcf9bc971aa8c7b5 MISC metadata.xml 612 BLAKE2B bc2b11edd30d0db99860d1d005c56c428c75be96224fa3285fd3cde6f35af0f142b445254214af00308a29ee8965505a8dfe14ffb2e80b57ca42ef20c91bf100 SHA512 db9172c0e887d45f42914159eae83c0f11b40fbafac31395c782ff959cdccad8a62a8d468cec66d6e362cd8ea09aa3b05057d19fff8a1f94b9bd472be97d04b0 diff --git a/sci-libs/libint/libint-2.6.0-r2.ebuild b/sci-libs/libint/libint-2.6.0-r2.ebuild index a07d7360830c..6646dd1f96d1 100644 --- a/sci-libs/libint/libint-2.6.0-r2.ebuild +++ b/sci-libs/libint/libint-2.6.0-r2.ebuild @@ -42,6 +42,7 @@ src_configure() { --with-g12-max-am=5 --with-g12-opt-am=3 \ --with-g12dkh-max-am=5 --with-g12dkh-opt-am=3 \ --enable-contracted-ints \ + --enable-shared $(use_enable static-libs static) } diff --git a/sci-libs/libint/libint-2.6.0-r4.ebuild b/sci-libs/libint/libint-2.6.0-r4.ebuild new file mode 100644 index 000000000000..e248dec698c2 --- /dev/null +++ b/sci-libs/libint/libint-2.6.0-r4.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2021 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 \ + --enable-shared \ + $(use_enable static-libs static) +} + +src_compile() { + emake LDFLAGS="${LDFLAGS}" + + use doc && emake html pdf +} + +src_install() { + default + if ! use static-libs; then + find "${ED}" -name '*.la' -delete || die "Failed to remove .la files" + fi + + if use doc; then + DOCS=( doc/progman/progman.pdf ) + HTML_DOCS=( doc/progman/progman/*.{html,png,css} ) + einstalldocs + fi +} |