aboutsummaryrefslogtreecommitdiff
blob: 58da9c18bf043cc032e1b7e1b4a0f569234195b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

DOCS_BUILDER="doxygen"
DOCS_DEPEND="media-gfx/graphviz"

inherit autotools docs fortran-2 toolchain-funcs

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/download/attachments/43321199/${P}.tar.gz"

LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~amd64-linux"
IUSE="static-libs"

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

FORTRAN_STANDARD=90

DOCS=( NEWS README )

src_compile() {
	# With -j higher than 1 we get file not found errors
	emake -j1
	docs_compile
}

src_install() {
	default
	mv "${ED}/usr/share/doc/fgsl" "${ED}/usr/share/doc/${PF}" || die
}