From d0c17d1e5574d107a0a71cd83e8f23c353ff4da5 Mon Sep 17 00:00:00 2001 From: Dror Levin Date: Fri, 9 Jul 2010 08:48:46 +0000 Subject: Version bump, bug 327583. Drop old. (Portage version: 2.2_rc67/cvs/Linux x86_64) --- dev-cpp/eigen/ChangeLog | 8 ++++- dev-cpp/eigen/eigen-2.0.10.ebuild | 73 --------------------------------------- dev-cpp/eigen/eigen-2.0.14.ebuild | 73 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 80 insertions(+), 74 deletions(-) delete mode 100644 dev-cpp/eigen/eigen-2.0.10.ebuild create mode 100644 dev-cpp/eigen/eigen-2.0.14.ebuild diff --git a/dev-cpp/eigen/ChangeLog b/dev-cpp/eigen/ChangeLog index 140b718a2028..f962adac5d54 100644 --- a/dev-cpp/eigen/ChangeLog +++ b/dev-cpp/eigen/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-cpp/eigen # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.32 2010/06/13 21:16:34 spatz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/ChangeLog,v 1.33 2010/07/09 08:48:46 spatz Exp $ + +*eigen-2.0.14 (09 Jul 2010) + + 09 Jul 2010; Dror Levin -eigen-2.0.10.ebuild, + +eigen-2.0.14.ebuild: + Version bump, bug 327583. Drop old. *eigen-2.0.13 (13 Jun 2010) diff --git a/dev-cpp/eigen/eigen-2.0.10.ebuild b/dev-cpp/eigen/eigen-2.0.10.ebuild deleted file mode 100644 index ff83cc6e7f9e..000000000000 --- a/dev-cpp/eigen/eigen-2.0.10.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/eigen-2.0.10.ebuild,v 1.4 2010/01/20 23:45:12 abcd Exp $ - -EAPI="2" - -inherit cmake-utils - -DESCRIPTION="Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra" -HOMEPAGE="http://eigen.tuxfamily.org/" -SRC_URI="http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2" - -LICENSE="GPL-3" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" -SLOT="2" -IUSE="debug doc examples" - -COMMON_DEPEND=" - examples? ( - x11-libs/qt-gui:4 - x11-libs/qt-opengl:4 - ) -" -DEPEND="${COMMON_DEPEND} - doc? ( app-doc/doxygen ) -" -RDEPEND="${COMMON_DEPEND} - !dev-cpp/eigen:0 -" - -S="${WORKDIR}/${PN}" - -src_configure() { - # benchmarks (BTL) brings up damn load of external deps including fortran - # compiler - # library hangs up complete compilation proccess, test later - mycmakeargs=( - -DEIGEN_BUILD_LIB=OFF - -DEIGEN_BUILD_BTL=OFF - $(cmake-utils_use examples EIGEN_BUILD_DEMOS) - ) - cmake-utils_src_configure -} - -src_compile() { - cmake-utils_src_compile - if use doc; then - cd "${CMAKE_BUILD_DIR}" - emake doc || die "building documentation failed" - fi -} - -src_install() { - cmake-utils_src_install - if use doc; then - cd "${CMAKE_BUILD_DIR}"/doc - dohtml -r html/* || die "dohtml failed" - fi - if use examples; then - cd "${CMAKE_BUILD_DIR}"/demos - dobin mandelbrot/mandelbrot opengl/quaternion_demo || die "dobin failed" - fi -} - -src_test() { - mycmakeargs=( - -DEIGEN_BUILD_TESTS=ON - -DEIGEN_TEST_NO_FORTRAN=ON - ) - cmake-utils_src_configure - cmake-utils_src_compile - cmake-utils_src_test -} diff --git a/dev-cpp/eigen/eigen-2.0.14.ebuild b/dev-cpp/eigen/eigen-2.0.14.ebuild new file mode 100644 index 000000000000..5d9d23e4e135 --- /dev/null +++ b/dev-cpp/eigen/eigen-2.0.14.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/eigen/eigen-2.0.14.ebuild,v 1.1 2010/07/09 08:48:46 spatz Exp $ + +EAPI="2" + +inherit cmake-utils + +DESCRIPTION="Lightweight C++ template library for vector and matrix math, a.k.a. linear algebra" +HOMEPAGE="http://eigen.tuxfamily.org/" +SRC_URI="http://bitbucket.org/eigen/eigen/get/${PV}.tar.bz2" + +LICENSE="GPL-3" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +SLOT="2" +IUSE="debug doc examples" + +COMMON_DEPEND=" + examples? ( + x11-libs/qt-gui:4 + x11-libs/qt-opengl:4 + ) +" +DEPEND="${COMMON_DEPEND} + doc? ( app-doc/doxygen ) +" +RDEPEND="${COMMON_DEPEND} + !dev-cpp/eigen:0 +" + +S="${WORKDIR}/${PN}" + +src_configure() { + # benchmarks (BTL) brings up damn load of external deps including fortran + # compiler + # library hangs up complete compilation proccess, test later + mycmakeargs=( + -DEIGEN_BUILD_LIB=OFF + -DEIGEN_BUILD_BTL=OFF + $(cmake-utils_use examples EIGEN_BUILD_DEMOS) + ) + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile + if use doc; then + cd "${CMAKE_BUILD_DIR}" + emake doc || die "building documentation failed" + fi +} + +src_install() { + cmake-utils_src_install + if use doc; then + cd "${CMAKE_BUILD_DIR}"/doc + dohtml -r html/* || die "dohtml failed" + fi + if use examples; then + cd "${CMAKE_BUILD_DIR}"/demos + dobin mandelbrot/mandelbrot opengl/quaternion_demo || die "dobin failed" + fi +} + +src_test() { + mycmakeargs=( + -DEIGEN_BUILD_TESTS=ON + -DEIGEN_TEST_NO_FORTRAN=ON + ) + cmake-utils_src_configure + cmake-utils_src_compile + cmake-utils_src_test +} -- cgit v1.2.3-65-gdbad