summaryrefslogtreecommitdiff
blob: 93860382e0e01a0642143c225dc4364cb170a530 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

EAPI=2

inherit toolchain-funcs

DESCRIPTION="Software for solving nonlinear equations and nonlinear least squares problems"
HOMEPAGE="http://devernay.free.fr/hacks/cminpack.html"
SRC_URI="http://devernay.free.fr/hacks/${P}.tar.gz"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""

src_compile() {
	emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die
}

src_install() {
	dolib.a libminpack.a || die
	insinto /usr/include
	doins {,c}minpack.h || die
	dodoc readme{,C}.txt || die
}