diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2013-02-07 05:49:52 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2013-02-07 05:49:52 +0000 |
commit | 708205376cd5e460f1d052c7db76e0dcba99b901 (patch) | |
tree | 7ba39ec06e0b809542830871982588dcd9d49a80 /sci-libs | |
parent | Version bump (diff) | |
download | gentoo-2-708205376cd5e460f1d052c7db76e0dcba99b901.tar.gz gentoo-2-708205376cd5e460f1d052c7db76e0dcba99b901.tar.bz2 gentoo-2-708205376cd5e460f1d052c7db76e0dcba99b901.zip |
Version bump
(Portage version: 2.2.01.21688-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/armadillo/ChangeLog | 7 | ||||
-rw-r--r-- | sci-libs/armadillo/armadillo-3.6.2.ebuild | 57 |
2 files changed, 63 insertions, 1 deletions
diff --git a/sci-libs/armadillo/ChangeLog b/sci-libs/armadillo/ChangeLog index 682bc051c9f5..f9479e073694 100644 --- a/sci-libs/armadillo/ChangeLog +++ b/sci-libs/armadillo/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sci-libs/armadillo # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/armadillo/ChangeLog,v 1.26 2013/01/21 19:38:49 bicatali Exp $ +# $Header: /var/cvsroot/gentoo-x86/sci-libs/armadillo/ChangeLog,v 1.27 2013/02/07 05:49:52 bicatali Exp $ + +*armadillo-3.6.2 (07 Feb 2013) + + 07 Feb 2013; Sébastien Fabbro <bicatali@gentoo.org> +armadillo-3.6.2.ebuild: + Version bump *armadillo-3.6.1 (21 Jan 2013) diff --git a/sci-libs/armadillo/armadillo-3.6.2.ebuild b/sci-libs/armadillo/armadillo-3.6.2.ebuild new file mode 100644 index 000000000000..e1df08d0831b --- /dev/null +++ b/sci-libs/armadillo/armadillo-3.6.2.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/armadillo/armadillo-3.6.2.ebuild,v 1.1 2013/02/07 05:49:52 bicatali Exp $ + +EAPI=5 + +CMAKE_IN_SOURCE_BUILD=1 + +inherit cmake-utils toolchain-funcs + +DESCRIPTION="Streamlined C++ linear algebra library" +HOMEPAGE="http://arma.sourceforge.net/" +SRC_URI="mirror://sourceforge/arma/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="blas doc examples lapack" + +RDEPEND=" + dev-libs/boost + blas? ( virtual/blas ) + lapack? ( virtual/lapack )" +DEPEND="${DEPEND} + virtual/pkgconfig" + +src_prepare() { + # avoid the automagic cmake macros + sed -i -e '/ARMA_Find/d' CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=() + if use blas; then + mycmakeargs+=( + -DBLAS_FOUND=ON + -DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)" + ) + fi + if use lapack; then + mycmakeargs+=( + -DLAPACK_FOUND=ON + -DLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs lapack)" + ) + fi + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + dodoc README.txt + use doc && dodoc *pdf && dohtml *html + if use examples; then + insinto /usr/share/doc/${PF} + doins -r examples + fi +} |