summaryrefslogtreecommitdiff
blob: e895f1f068890f8f442e592985ded62a4ff73158 (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
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit cmake-utils

DESCRIPTION="library for Levenberg-Marquardt least-squares minimization and curve fitting"
HOMEPAGE="http://apps.jcns.fz-juelich.de/doku/sc/lmfit"
SRC_URI="http://apps.jcns.fz-juelich.de/src/lmfit/${P}.tgz"

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

PATCHES=( "${FILESDIR}/${P}-cmake.patch" )

src_configure() {
	local mycmakeargs=(
		-DINJECT_C_FLAGS=OFF
	)

	cmake-utils_src_configure
}