diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-17 12:49:11 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-17 12:49:11 +0000 |
commit | d1ad4013179c639433bdbfa5025ca403aac0767b (patch) | |
tree | 0bbbed0629b48d472cade3335597c635e3722355 /sci-libs/libint | |
parent | 2bf68d7062b64d9f815f3b8ce6942a66afe53b0d (diff) |
gentoo auto-resync : 17:03:2024 - 12:49:11
Diffstat (limited to 'sci-libs/libint')
-rw-r--r-- | sci-libs/libint/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/libint/libint-2.9.0.ebuild | 74 |
2 files changed, 76 insertions, 0 deletions
diff --git a/sci-libs/libint/Manifest b/sci-libs/libint/Manifest index e019cfdd3207..7dfac78e23d7 100644 --- a/sci-libs/libint/Manifest +++ b/sci-libs/libint/Manifest @@ -1,6 +1,8 @@ AUX libint-1.1.6-as-needed.patch 1982 BLAKE2B ee6fdcd80c2ba8e9b40b3a25aecdd3dced861b2b0a0b6abd535266cce23a35b41e7a6bb65e35cf994b9cf37e2e94ad5910e5f3730e7147250eece28c536c9ced SHA512 6677550cae8aca9cd7905594e1c229e16057e3efa4c1b96e4f03586d694189bc5c8121884397b9d618300f05dc9c86fad3c0c82bb701bf82f6e07613ac9e8c5b DIST libint-1.1.6.tar.gz 256404 BLAKE2B c754e25f0c3bc6c52eb434beafd2cb794a2e715003ee9409d76e8ae06e0ce19a42a9331ad4db9be2745d6820e7248210d10b4c004146e99192fd16fd2c31966d SHA512 cb39d73e89431c324e32d4a71593fe913c7ae2132677d4600e63ce1ed99e8e431758f0aa3d130991da841e98a1064fa931eb0e82dbe80af4c0ece10ee3a4f2d7 DIST libint-2.6.0.tar.gz 24743255 BLAKE2B 3ab7baba012828485c6c8425bce100e1ab50d2a3c8443ea2ef5cf173d58d8aa211a07e837b10a7f89d7e57f2e15b9384060bbf7b9885f32e9426525e65e15960 SHA512 56343c64b0dfb829702f4bb2fe14a04ad063acd7cb8b5a21cd1a45a830944c1ee98c888c9a28d6746b1bc17459aefcfb0aafe6ef310bfe554056212ad19e43ef +DIST libint-2.9.0.tar.gz 21705777 BLAKE2B b2e8f36356f6eb8eff1207ba47c0f3bcc4471bd918cf933d03a1dd97efddd72d65464af743815d8bb633567ba97b19b8629881a5115b14f1630df1be7e6d0304 SHA512 6cffbd3d78dee4722b8085f4dd93085351cb610b5cb7ac090335adb2c43e87256ca06a658c202473fd763a38f7c0eeb6570b2c6a107e3f41d1258baf6e5b17de EBUILD libint-1.1.6.ebuild 860 BLAKE2B 8754e49c481bdee95245ddfb5206aa9ee58fd00a763bc123cc9b220dd4cb801b35f3805b90921a9c3d2594bb9fe60e55722353d2e95c66fe451967aeec21682e SHA512 43eee72c4e9f5ecd4156cb92d991e3e5fe3f1f4721b71a54b39d881546cca325371e45538eec21444b483f01faec993dcc3eda5d7fb9be0884c0b34503d93c11 EBUILD libint-2.6.0-r5.ebuild 1608 BLAKE2B ad6e06af583349f46660718d2a18a5f91555b8af15db62a761d3bb19345a27c49696a7ec8a1a1d28aaf1ba9689c388153bbf97d4b5211f3a91439b15cf904c47 SHA512 15f40345c43d02dbf66819a440cb22e9e613ec7d0e893ef7ab9cd847efb4249cbddee2feca0d525669ddca8549a29fd58f5914103597715800ba6c6006d123c8 +EBUILD libint-2.9.0.ebuild 1686 BLAKE2B 89ab4dc48cf8180e6bec97ab73b8988700e642bd13f87aa831fefda652cefa1f1a33825eb915c19308a6c3f0031c84d2eb0c930e39b25262f58d735b40a4a57c SHA512 f25281caa07b9d9b4cb852a780a84ef7a0f8afa7600bb0f9a469d63d7330775fef03fde9cb13e5c479d7ca786e58df323ad6c05567d8512daeff9150a71cbd6a MISC metadata.xml 615 BLAKE2B f5cbda5191fed47e8990efc5790990aec42c5e6fdad17e70b8c191d8e67eeb7e090aaeca83e5026a9ac88f6158e5dfb1339aa0975c5913a0b3840597c5be8b19 SHA512 56962705b3529b26d665a3d144ea7b4da7b54c119ee547e7e38f9d48597288d62a3ecaccdcf27f799c0ce3390adb52a0fc5c6b0321d9037837f220da7fb35386 diff --git a/sci-libs/libint/libint-2.9.0.ebuild b/sci-libs/libint/libint-2.9.0.ebuild new file mode 100644 index 000000000000..f2d1c2fa4e39 --- /dev/null +++ b/sci-libs/libint/libint-2.9.0.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic 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" + +LICENSE="GPL-2" +SLOT="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 + + # bug 725454 + sed -i -e '/RANLIB/d' src/bin/libint/Makefile || die +} + +src_configure() { + # bug #862894 + append-flags -fno-strict-aliasing + filter-lto + + 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 +} |