From 4f2d7949f03e1c198bc888f2d05f421d35c57e21 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 9 Oct 2017 18:53:29 +0100 Subject: reinit the tree, so we can have metadata --- sci-libs/libint/libint-1.1.6.ebuild | 40 +++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 sci-libs/libint/libint-1.1.6.ebuild (limited to 'sci-libs/libint/libint-1.1.6.ebuild') 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 +} -- cgit v1.2.3