blob: 993ef2f63e65fffe63d890348468a4549e4d3ba1 (
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-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sci-libs/cminpack/cminpack-1.2.2.ebuild,v 1.2 2012/06/20 19:21:05 jlec Exp $
EAPI=4
inherit cmake-utils
DESCRIPTION="C implementation of the MINPACK nonlinear optimization library"
HOMEPAGE="http://devernay.free.fr/hacks/cminpack/"
SRC_URI="${HOMEPAGE}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
PATCHES=( "${FILESDIR}"/${P}-underlinking.patch )
src_configure() {
mycmakeargs+=(
-DSHARED_LIBS=ON
$(cmake-utils_use_build test examples)
)
cmake-utils_src_configure
}
src_install() {
cmake-utils_src_install
dodoc readme*
use doc && dohtml -A .txt doc/*
}
|