diff options
author | Sam James <sam@gentoo.org> | 2021-11-26 01:31:59 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-11-26 01:31:59 +0000 |
commit | 933feb79f9ee98e1ab93f38b82cb4f720587012b (patch) | |
tree | 7d097f1ab3031a9cd0fd5ccb0ca5b12a873e313f /sci-libs/libxc/libxc-5.1.7.ebuild | |
parent | dev-python/pytest-salt-factories: needs salt at runtime (diff) | |
download | gentoo-933feb79f9ee98e1ab93f38b82cb4f720587012b.tar.gz gentoo-933feb79f9ee98e1ab93f38b82cb4f720587012b.tar.bz2 gentoo-933feb79f9ee98e1ab93f38b82cb4f720587012b.zip |
sci-libs/libxc: add 5.1.7
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs/libxc/libxc-5.1.7.ebuild')
-rw-r--r-- | sci-libs/libxc/libxc-5.1.7.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sci-libs/libxc/libxc-5.1.7.ebuild b/sci-libs/libxc/libxc-5.1.7.ebuild new file mode 100644 index 000000000000..47698dd02b85 --- /dev/null +++ b/sci-libs/libxc/libxc-5.1.7.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools fortran-2 + +DESCRIPTION="A library of exchange-correlation functionals for use in DFT" +HOMEPAGE="https://octopus-code.org/wiki/Libxc" +SRC_URI="https://gitlab.com/libxc/libxc/-/archive/${PV}/${P}.tar.gz" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="fortran test" +RESTRICT="!test? ( test )" + +pkg_setup() { + use fortran && fortran-2_pkg_setup +} + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + econf \ + --enable-shared \ + $(use_enable fortran) +} + +src_install() { + default + + dodoc ChangeLog.md + + # no static archives + find "${ED}" -name '*.la' -type f -delete || die +} |