summaryrefslogtreecommitdiff
blob: 954e91ac7e70d9adbee4bd599adf6bfa7e472320 (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
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit cmake

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

LICENSE="BSD-2"
SLOT="0"
KEYWORDS="amd64 arm x86"
IUSE=""

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

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