blob: b750ae79f7adec0707eea3de76fab165b1bb29d8 (
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
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
AUTOTOOLS_IN_SOURCE_BUILD=yes
FORTRAN_STANDARD="77 90"
inherit autotools-utils fortran-2 toolchain-funcs
DESCRIPTION="HSL mathematical software library for IPOPT"
HOMEPAGE="http://www.hsl.rl.ac.uk/ipopt"
SRC_URI="${P}.tar.gz"
LICENSE="HSL"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="static-libs"
RDEPEND="
sci-libs/metis
virtual/blas"
DEPEND="${RDEPEND}
virtual/pkgconfig"
RESTRICT="mirror fetch"
src_configure() {
export LIBS="$($(tc-getPKG_CONFIG) --libs metis blas lapack)"
autotools-utils_src_configure
MAKEOPTS+=" -j1"
}
|