summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-libs/cminpack')
-rw-r--r--sci-libs/cminpack/ChangeLog7
-rw-r--r--sci-libs/cminpack/cminpack-1.3.2.ebuild35
2 files changed, 41 insertions, 1 deletions
diff --git a/sci-libs/cminpack/ChangeLog b/sci-libs/cminpack/ChangeLog
index 36532e45f6af..5b049f53789c 100644
--- a/sci-libs/cminpack/ChangeLog
+++ b/sci-libs/cminpack/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/cminpack
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/cminpack/ChangeLog,v 1.8 2013/10/23 18:42:08 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cminpack/ChangeLog,v 1.9 2013/11/14 02:04:03 bicatali Exp $
+
+*cminpack-1.3.2 (14 Nov 2013)
+
+ 14 Nov 2013; Sébastien Fabbro <bicatali@gentoo.org> +cminpack-1.3.2.ebuild:
+ Version bump
*cminpack-1.3.1 (23 Oct 2013)
diff --git a/sci-libs/cminpack/cminpack-1.3.2.ebuild b/sci-libs/cminpack/cminpack-1.3.2.ebuild
new file mode 100644
index 000000000000..d0e5f3b37939
--- /dev/null
+++ b/sci-libs/cminpack/cminpack-1.3.2.ebuild
@@ -0,0 +1,35 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/cminpack/cminpack-1.3.2.ebuild,v 1.1 2013/11/14 02:04:03 bicatali Exp $
+
+EAPI=5
+
+inherit cmake-utils multilib
+
+DESCRIPTION="C implementation of the MINPACK nonlinear optimization library"
+HOMEPAGE="http://devernay.free.fr/hacks/cminpack/"
+SRC_URI="${HOMEPAGE}/${P}.tar.gz"
+
+LICENSE="minpack"
+SLOT="0/${PV}"
+KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+IUSE="doc test"
+
+PATCHES=( "${FILESDIR}"/${PN}-1.2.2-underlinking.patch )
+
+src_configure() {
+ sed -i \
+ -e "/CMINPACK_LIB_INSTALL_DIR/s:lib\(\|64\):$(get_libdir):g" \
+ cmake/cminpack_utils.cmake || die
+ local 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/*
+}