sci-libs/fgsl - 1.5.0-r1 (AstroFloyd)

Search

Package Information

Description:
A Fortran interface to the GNU Scientific Library
Homepage:
https://doku.lrz.de/display/PUBLIC/FGSL+-+A+Fortran+interface+to+the+GNU+Scientific+Library
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
1.5.0-r1 8 ~amd64 ~amd64-linux 0
View Raw Ebuild
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit fortran-2

DESCRIPTION="A Fortran interface to the GNU Scientific Library"
HOMEPAGE="https://doku.lrz.de/display/PUBLIC/FGSL+-+A+Fortran+interface+to+the+GNU+Scientific+Library"
SRC_URI="https://doku.lrz.de/files/10746505/10746508/6/1715160191273/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~amd64-linux"
IUSE="doc-html doc-pdf examples static-libs"

RDEPEND=">=sci-libs/gsl-2.6"
DEPEND="${RDEPEND}
	virtual/pkgconfig"

FORTRAN_STANDARD=2003
MAKEOPTS="-j1"  # fgsl.mod cannot be built in parallel

src_configure() {
	econf $(use_enable static-libs static)
}

src_install() {
	dolib.so .libs/*.so .libs/*.so.*
	use static-libs && dolib.a libfgsl.la
	use static-libs && dolib.a .libs/*.a

	insinto /usr/include/fgsl
	doins fgsl.mod

	dodoc NEWS README
	use doc-html && dodoc -r doc/html/      # ~9Mb
	use doc-pdf  && dodoc doc/refman.pdf    # ~2Mb
	use examples && dodoc -r doc/examples/  # ~0.3Mb (zipped)
}

USE Flags

Dependencies

DEPEND

>=sci-libs/gsl-2.6
	virtual/pkgconfig

RDEPEND

>=sci-libs/gsl-2.6