summaryrefslogtreecommitdiff
path: root/sci-libs/libint
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /sci-libs/libint
reinit the tree, so we can have metadata
Diffstat (limited to 'sci-libs/libint')
-rw-r--r--sci-libs/libint/Manifest8
-rw-r--r--sci-libs/libint/files/libint-1.1.6-as-needed.patch77
-rw-r--r--sci-libs/libint/libint-1.1.6.ebuild40
-rw-r--r--sci-libs/libint/libint-2.0.5.ebuild60
-rw-r--r--sci-libs/libint/metadata.xml17
5 files changed, 202 insertions, 0 deletions
diff --git a/sci-libs/libint/Manifest b/sci-libs/libint/Manifest
new file mode 100644
index 000000000000..ec3ebe8e6c5a
--- /dev/null
+++ b/sci-libs/libint/Manifest
@@ -0,0 +1,8 @@
+AUX libint-1.1.6-as-needed.patch 2733 SHA256 d3de3c644d55ae49470491cd1d9e86a9d0b0d8903bc4a2fb9d94a3be3f1aa518 SHA512 69281b26c69f5cae1e33f53c58b8a7b383ae83fa8309db03a505e6df3ca018acdf5e4998b42c9d4d1cfda2eaaf36903c1a39211664358506a90cde7e1012ee8d WHIRLPOOL 271d46cc5f9a292ab0f3fc675f3c86a8f6abe833a0f0cca038e44dfb6ba6c3ccab32b755d68fdd4c4fe7cc28df216025a2b1cb3462160ba8012572c3c8b04b56
+DIST libint-1.1.6.tar.gz 256404 SHA256 f201b0c621df678cfe8bdf3990796b8976ff194aba357ae398f2f29b0e2985a6 SHA512 cb39d73e89431c324e32d4a71593fe913c7ae2132677d4600e63ce1ed99e8e431758f0aa3d130991da841e98a1064fa931eb0e82dbe80af4c0ece10ee3a4f2d7 WHIRLPOOL ed6e0f850df067da115cdea4e9cff2545ea6ffe4e7b9dea28ef3232adec12d23c6b6709e8a058f78b9764890134440f4869a770b3b4e4934b4571562848fdb6a
+DIST libint-2.0.5.tar.gz 3209528 SHA256 f64298bc6513771ffea476a250110b3f488c01d669e05dd309fe4ba6114c5f95 SHA512 d7717a6337b73645dcb77d3c0731df17884b4c662b0d52061b7b80ac0ebd9de344e6c301294f714db09e7b6e3dff5b4b6958ef06122303df52d0ebb6a011cf24 WHIRLPOOL 896269589d6c95f83b5dc0517491d2b07bf60103fb0a11c131681acaa4a83f494ab436647ae7989a1a9e944b0fd59b03d530ab025efbba73efc75e9f1f720653
+EBUILD libint-1.1.6.ebuild 955 SHA256 e25d0e6feb079be67d5e9ba9b9d6e899abf0148e7fd939cc9da0af8a932488d9 SHA512 53f1b0ffc316cb021f05ca6432c24ea8c316bcb87f02149a7a0f8b6401c845d13a5f20b4fa954eee0c25c32b5325bc1f01de8ac183492c9b6f36994c7fddc491 WHIRLPOOL f514a0742f702c3ec92998a2a8a76b2a7ed8d17ce359d982463d45b31745b24d4b57fe5b8809633aee597ae02743c411fc0fe6efe607173ad843e66871830958
+EBUILD libint-2.0.5.ebuild 1260 SHA256 c4096fe316563c635866860adc0e70cedec34c11a1e8a909460291f4d8ed4ffd SHA512 b058703d90aeb7f27856d1fa3f9a2fc90fa1d599965b6db9d2928d4723f8ae3076014fe685630d3c7c2a0a1036fb6cb430a986aa051793d451e9323611cca17c WHIRLPOOL d3ae0cf5496ab0cc8e16f428133f137592af3f6a487e93cf7e9e080e3e5d2e247cdfafdb53a89f51dd15d4f249e858d667e57279ea505e34dc1af3952c57c926
+MISC ChangeLog 3600 SHA256 ec3c15022ae14b3a362246781806286301cd864d95b80aefeea6a9745275bba5 SHA512 797269325b464e150d3aecc920a9eb6b0ae40063bbf16ef8d8ba98b43bad3220012f43d11eed7fedddd78e6cdfe93cf2fd4f622e9b20f702da6d0979893ba6a9 WHIRLPOOL 04c2ee4840e67775f26419c0d2cc5ccb3aaab71cc5deb26d5588a3581b92cb70e829d7a9b9c8ccd31d9bd75f4896e77399b8d25b3652d1d44a9ad1e248e0dbf2
+MISC ChangeLog-2015 3079 SHA256 8fd6b930272234c6e9203778f6fd8d331b564730cce7a5a3078d7574e405f7e7 SHA512 7ae90753f1d1f02cf1ed48f4227f309bf2c6c809cb99d4525334026c9d3087d9d1086c2246c942131c6e73143cee8a543a1068c9a223d48be2bdc3d1d334131a WHIRLPOOL 2f051c3ca660133e695153520ab5c644dbdd5efb2957fc90f446de0b9575c24d8059bb10043c86986cab01ad35c0dec9da812241597a12247b04a38fc7419806
+MISC metadata.xml 612 SHA256 8b2436706fca3f92de930e4e98e0c7e89d6e1259e678aa8898b74b6bda1b1fcd SHA512 db9172c0e887d45f42914159eae83c0f11b40fbafac31395c782ff959cdccad8a62a8d468cec66d6e362cd8ea09aa3b05057d19fff8a1f94b9bd472be97d04b0 WHIRLPOOL 29138229f720b0efabcd3c867d0948975e6d272013868ec72797a85c2ba805989dc776d8ce07481a40b0875012aa09a9b4bde1594c48c02b70ab4197f0bcf65e
diff --git a/sci-libs/libint/files/libint-1.1.6-as-needed.patch b/sci-libs/libint/files/libint-1.1.6-as-needed.patch
new file mode 100644
index 000000000000..c48505314b39
--- /dev/null
+++ b/sci-libs/libint/files/libint-1.1.6-as-needed.patch
@@ -0,0 +1,77 @@
+ configure.ac | 3 +--
+ src/bin/MakeRules.in | 2 +-
+ src/lib/libderiv/Makefile.library | 2 +-
+ src/lib/libint/Makefile.library | 2 +-
+ src/lib/libr12/Makefile.library | 2 +-
+ 5 files changed, 5 insertions(+), 6 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index dc86e88..8cc3aac 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -317,12 +317,11 @@ LIBS=$withval
+ echo Using extra libraries: $withval
+ )
+
+-LDFLAGS=
+ LIBDIRS=
+ AC_ARG_WITH(libdirs,
+ [ --with-libdirs Specifies library directories (-Ldir1 -Ldir2).],
+ LIBDIRS=$withval
+-LDFLAGS=$withval
++LDFLAGS="$LDFLAGS $withval"
+ echo Using extra library directories: $withval
+ )
+
+diff --git a/src/bin/MakeRules.in b/src/bin/MakeRules.in
+index 5b90607..8ea5005 100644
+--- a/src/bin/MakeRules.in
++++ b/src/bin/MakeRules.in
+@@ -3,7 +3,7 @@ HAVE_MAKERULES = yes
+
+ BINOBJ = $(BUILD_CSRC:%.c=%.$(OBJSUF)) $(BUILD_CXXSRC:%.cc=%.$(OBJSUF))
+ $(BUILD_BINARY): $(BINOBJ)
+- $(LD) $^ $(LDFLAGS) $(SYSLIBS) -o $@
++ $(LD) $(LDFLAGS) $^ $(SYSLIBS) -o $@
+
+ .PHONY: install install_inc install_target uninstall clean oclean distclean targetclean realclean
+ install::
+diff --git a/src/lib/libderiv/Makefile.library b/src/lib/libderiv/Makefile.library
+index ee152ef..8debfe8 100644
+--- a/src/lib/libderiv/Makefile.library
++++ b/src/lib/libderiv/Makefile.library
+@@ -23,7 +23,7 @@ $(TOPDIR)/lib/$(NAME).a: $(LIBOBJ)
+
+ # this is how shared library is made
+ $(TOPDIR)/lib/$(NAME).la: $(LIBOBJ)
+- $(LTLINK) $(CXX) -o $@ $^ $(LTLINKLIBOPTS)
++ $(LTLINK) $(CXX) $(LDFLAGS) -o $@ $^ $(LTLINKLIBOPTS)
+
+ $(TOPDIR)/include/$(NAME)/$(NAME).h: $(NAME).h
+ $(INSTALL) $(INSTALLDIROPT) $(TOPDIR)/include/$(NAME)
+diff --git a/src/lib/libint/Makefile.library b/src/lib/libint/Makefile.library
+index 23e2918..01c4225 100644
+--- a/src/lib/libint/Makefile.library
++++ b/src/lib/libint/Makefile.library
+@@ -41,7 +41,7 @@ $(TOPDIR)/lib/$(NAME).a: $(LIBOBJ)
+
+ # this is how shared library is made
+ $(TOPDIR)/lib/$(NAME).la: $(LIBOBJ)
+- $(LTLINK) $(CXX) -o $@ $^ $(LTLINKLIBOPTS)
++ $(LTLINK) $(CXX) $(LDFLAGS) -o $@ $^ $(LTLINKLIBOPTS)
+
+ $(TOPDIR)/include/$(NAME)/$(NAME).h: $(NAME).h
+ $(INSTALL) $(INSTALLDIROPT) $(TOPDIR)/include/$(NAME)
+diff --git a/src/lib/libr12/Makefile.library b/src/lib/libr12/Makefile.library
+index 1510807..26d47a4 100644
+--- a/src/lib/libr12/Makefile.library
++++ b/src/lib/libr12/Makefile.library
+@@ -47,7 +47,7 @@ $(TOPDIR)/lib/$(NAME).a: $(LIBOBJ)
+
+ # this is how shared library is made
+ $(TOPDIR)/lib/$(NAME).la: $(LIBOBJ)
+- $(LTLINK) $(CXX) -o $@ $^ $(LTLINKLIBOPTS)
++ $(LTLINK) $(CXX) $(LDFLAGS) -o $@ $^ $(LTLINKLIBOPTS)
+
+ $(TOPDIR)/include/$(NAME)/$(NAME).h: $(NAME).h
+ $(INSTALL) $(INSTALLDIROPT) $(TOPDIR)/include/$(NAME)
diff --git a/sci-libs/libint/libint-1.1.6.ebuild b/sci-libs/libint/libint-1.1.6.ebuild
new file mode 100644
index 000000000000..760d266a7811
--- /dev/null
+++ b/sci-libs/libint/libint-1.1.6.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=true
+
+inherit autotools-utils fortran-2 toolchain-funcs versionator
+
+MY_PV="$(replace_all_version_separators -)"
+
+DESCRIPTION="Matrix elements (integrals) evaluation over Cartesian Gaussian functions"
+HOMEPAGE="https://github.com/evaleev/libint"
+SRC_URI="https://github.com/evaleev/libint/archive/release-${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="1"
+LICENSE="GPL-2"
+KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs"
+
+S="${WORKDIR}/${PN}-release-${MY_PV}"
+
+PATCHES=( "${FILESDIR}"/${P}-as-needed.patch )
+
+src_prepare() {
+ mv configure.{in,ac} || die
+ autotools-utils_src_prepare
+}
+
+src_configure() {
+ local myeconfargs=(
+ --enable-deriv
+ --enable-r12
+ --with-cc=$(tc-getCC)
+ --with-cxx=$(tc-getCXX)
+ --with-cc-optflags="${CFLAGS}"
+ --with-cxx-optflags="${CXXFLAGS}"
+ )
+ autotools-utils_src_configure
+}
diff --git a/sci-libs/libint/libint-2.0.5.ebuild b/sci-libs/libint/libint-2.0.5.ebuild
new file mode 100644
index 000000000000..42ac3cfeddf4
--- /dev/null
+++ b/sci-libs/libint/libint-2.0.5.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+AUTOTOOLS_AUTORECONF=true
+
+inherit autotools-utils fortran-2 toolchain-funcs versionator
+
+MY_PV="$(replace_all_version_separators -)"
+
+DESCRIPTION="Matrix elements (integrals) evaluation over Cartesian Gaussian functions"
+HOMEPAGE="https://github.com/evaleev/libint"
+SRC_URI="https://github.com/evaleev/libint/archive/release-2-0-5.tar.gz -> ${P}.tar.gz"
+
+SLOT="2"
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="static-libs doc"
+
+S="${WORKDIR}/${PN}-release-${MY_PV}"
+
+DEPEND="
+ dev-libs/boost
+ dev-libs/gmp[cxx]
+ doc? (
+ dev-texlive/texlive-latex
+ dev-tex/latex2html
+ )"
+
+AUTOTOOLS_IN_SOURCE_BUILD=1
+
+src_configure() {
+ local myeconfargs=(
+ --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)
+ )
+ autotools-utils_src_configure
+}
+
+src_compile() {
+ emake LDFLAGS="${LDFLAGS}"
+
+ use doc && emake html pdf
+}
+
+src_install() {
+ einstall
+
+ 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/metadata.xml b/sci-libs/libint/metadata.xml
new file mode 100644
index 000000000000..c6610a75fe01
--- /dev/null
+++ b/sci-libs/libint/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>sci@gentoo.org</email>
+ <name>Gentoo Science Project</name>
+ </maintainer>
+ <longdescription lang="en">
+ libint is two things:
+ 1. a library of C/C++ functions for efficient evaluation of several
+ kinds of two-body molecular integrals over Gaussian functions;
+ 2. the optimizing compiler that generates a Libint library.
+</longdescription>
+ <upstream>
+ <remote-id type="github">evaleev/libint</remote-id>
+ </upstream>
+</pkgmetadata>