sci-libs/libxc - 5.2.3 (phackerlay)

Search

Install

Install this version:

emerge -a =sci-libs/libxc-5.2.3

Package Information

Description:
A library of exchange-correlation functionals for use in DFT
Homepage:
https://octopus-code.org/wiki/Libxc
License:
MPL-2.0

Ebuild Details

Version EAPI Keywords Slot
5.2.3 8 amd64 x86 ~amd64-linux 0
View Raw Ebuild
# Copyright 1999-2022 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
}

USE Flags

Manage flags for this package: euse -i <flag> -p sci-libs/libxc | euse -E <flag> -p sci-libs/libxc | euse -D <flag> -p sci-libs/libxc

Global/Standard Flags

Inherited Eclasses

Manifest for 5.2.3

Type File Size Source URLs
DIST libxc-5.2.3.tar.gz 46450554 bytes https://gitlab.com/libxc/libxc/-/archive/5.2.3/libxc-5.2.3.tar.gz