summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2015-02-06 18:19:16 +0000
committerMichael Palimaka <kensington@gentoo.org>2015-02-06 18:19:16 +0000
commitcac7dd123e4b234abc97f02efe7014bce20f0dda (patch)
tree9927f254efe6987c3df71840c9068562a3704add /dev-cpp
parentquiet autotools warning (diff)
downloadgentoo-2-cac7dd123e4b234abc97f02efe7014bce20f0dda.tar.gz
gentoo-2-cac7dd123e4b234abc97f02efe7014bce20f0dda.tar.bz2
gentoo-2-cac7dd123e4b234abc97f02efe7014bce20f0dda.zip
Version bump wrt bug #491796.
(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0x06B1F38DCA45A1EC!)
Diffstat (limited to 'dev-cpp')
-rw-r--r--dev-cpp/eigen/ChangeLog9
-rw-r--r--dev-cpp/eigen/eigen-3.2.4.ebuild65
2 files changed, 72 insertions, 2 deletions
diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog
index d0608bb9c6b0..6dd2158131ca 100644
--- a/dev-cpp/eigen/ChangeLog
+++ b/dev-cpp/eigen/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-cpp/eigen
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.87 2014/10/29 09:34:32 ago Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.88 2015/02/06 18:19:16 kensington Exp $
+
+*eigen-3.2.4 (06 Feb 2015)
+
+ 06 Feb 2015; Michael Palimaka <kensington@gentoo.org> +eigen-3.2.4.ebuild:
+ Version bump wrt bug #491796.
29 Oct 2014; Agostino Sarubbo <ago@gentoo.org> eigen-3.1.3.ebuild:
Stable for sparc, wrt bug #511392
diff --git a/dev-cpp/eigen/eigen-3.2.4.ebuild b/dev-cpp/eigen/eigen-3.2.4.ebuild
new file mode 100644
index 000000000000..203b9dbe970d
--- /dev/null
+++ b/dev-cpp/eigen/eigen-3.2.4.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/eigen-3.2.4.ebuild,v 1.1 2015/02/06 18:19:16 kensington Exp $
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="C++ template library for linear algebra: vectors, matrices, and related algorithms"
+HOMEPAGE="http://eigen.tuxfamily.org/"
+SRC_URI="http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2 -> ${P}.tar.bz2"
+
+LICENSE="LGPL-2 GPL-3"
+SLOT="3"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="debug doc"
+
+DEPEND="doc? ( app-doc/doxygen[dot,latex] )"
+RDEPEND="!dev-cpp/eigen:0"
+
+src_unpack() {
+ default
+ mv ${PN}* ${P} || die
+}
+
+src_prepare() {
+ sed -i CMakeLists.txt \
+ -e "/add_subdirectory(demos/d" \
+ -e "/add_subdirectory(blas/d" \
+ -e "/add_subdirectory(lapack/d" \
+ || die "sed disable unused bundles failed"
+
+ cmake-utils_src_prepare
+}
+
+src_configure() {
+ CMAKE_BUILD_TYPE="release"
+ cmake-utils_src_configure
+}
+
+src_compile() {
+ cmake-utils_src_compile
+ if use doc; then
+ cmake-utils_src_compile doc
+ fi
+}
+
+src_test() {
+ local mycmakeargs=(
+ -DEIGEN_BUILD_TESTS=ON
+ -DEIGEN_TEST_NO_FORTRAN=ON
+ -DEIGEN_TEST_NO_OPENGL=ON
+ )
+ cmake-utils_src_configure
+ cmake-utils_src_compile buildtests
+ cmake-utils_src_test
+}
+
+src_install() {
+ cmake-utils_src_install
+ if use doc; then
+ cd "${BUILD_DIR}"/doc
+ dohtml -r html/*
+ fi
+}