From 4a74938e510c0dad732ae4c48f815dd0f0cabb46 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 13 Feb 2023 08:16:09 +0000 Subject: gentoo auto-resync : 13:02:2023 - 08:16:09 --- sci-libs/libecpint/Manifest | 1 + sci-libs/libecpint/libecpint-1.0.6-r1.ebuild | 34 ++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 sci-libs/libecpint/libecpint-1.0.6-r1.ebuild (limited to 'sci-libs/libecpint') diff --git a/sci-libs/libecpint/Manifest b/sci-libs/libecpint/Manifest index 4ad07f9a5fba..b76681b103d6 100644 --- a/sci-libs/libecpint/Manifest +++ b/sci-libs/libecpint/Manifest @@ -1,3 +1,4 @@ DIST libecpint-1.0.6.tar.gz 1331016 BLAKE2B 9b1a8452b6810eaca17eb9e6efe876537ae32e980593ec89681fa4b2d6eaf5a908d5971c774eccd75858025599eeeb119a74b03fdbf7bcee644316dc6acad0d9 SHA512 8b0bf20d263891255ea8828cb9df7c919155ef461a66ae6c8979e9996e3392ea1b7adf21ef9ad9188e2f56547c1e2b525c3711f7cd1ace2b3c09b8ae38f75ee8 +EBUILD libecpint-1.0.6-r1.ebuild 778 BLAKE2B 0baecd52fbdd5301ddb2748ecccfffff37f0e5f4b06348bd7011bbb1a62e033bb44b932b449a5d8f5cd8555814101bb4afc005951d21c614df837a551b489ec4 SHA512 7a9363c63aeae9f3442b4e351cbd362988444b28eb54f2d3ac2038ca13f3a8de61579554634cc258af7153a62ae65f2fcaba43fb83d3f1fe4fc4c99a8cd44335 EBUILD libecpint-1.0.6.ebuild 639 BLAKE2B 30cf652bae08190de475985309283cfeb1d549edff2bb4ccb6bd0c5dbbd982569acc5f744472ae43b11688337294399b2cd3c05950c2d299f53446a39b355d5e SHA512 11f3b36e2ee2983ff361e7d77b38b1a4e7d22a21d33c9169447a57f8dcf37296bc95711130b3a2c1e9e86ec521fb977dc2cfa6c0c58f8dfc13addcf0dc3b44a1 MISC metadata.xml 639 BLAKE2B 47cb0fcf12a38630e1505734a9aeb173eedd12ba943f9f232816f8283a165099573036bdc9e51d0d4d6866e965bc508253c5fa458905271c58311d6d464f3d27 SHA512 58e24471675a7f813f6cae2684c73b4f0c08c6e9379209e0a809e0621f72c7ae29ad15d387defd06989bb86cb257d5c874d1fa80f2bfa8ef644be05e38fe977f diff --git a/sci-libs/libecpint/libecpint-1.0.6-r1.ebuild b/sci-libs/libecpint/libecpint-1.0.6-r1.ebuild new file mode 100644 index 000000000000..6f56bf9ddced --- /dev/null +++ b/sci-libs/libecpint/libecpint-1.0.6-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Efficient evaluation of integrals over ab initio effective core potentials" +HOMEPAGE="https://github.com/robashaw/libecpint" +SRC_URI="https://github.com/robashaw/libecpint/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="dev-libs/pugixml" +DEPEND="${RDEPEND} + test? ( dev-cpp/gtest )" + +src_prepare() { + cmake_src_prepare + + find . -name CMakeLists.txt -exec \ + sed -i -e 's/CXX_STANDARD 11/CXX_STANDARD 14/g' {} \; || die +} + +src_configure() { + local mycmakeargs=( + -DLIBECPINT_BUILD_TESTS=$(usex test) + ) + cmake_src_configure +} -- cgit v1.2.3