summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastien Fabbro <bicatali@gentoo.org>2011-05-04 00:29:37 +0000
committerSebastien Fabbro <bicatali@gentoo.org>2011-05-04 00:29:37 +0000
commitb1357cf316d718c031915c33027045c6014bb8ee (patch)
tree1cb4701640291d3ccad7822cbf32535850275da5 /sci-libs/armadillo
parentVersion bump and import to the main tree (diff)
downloadhistorical-b1357cf316d718c031915c33027045c6014bb8ee.tar.gz
historical-b1357cf316d718c031915c33027045c6014bb8ee.tar.bz2
historical-b1357cf316d718c031915c33027045c6014bb8ee.zip
Version bump
Package-Manager: portage-2.1.9.46/cvs/Linux x86_64
Diffstat (limited to 'sci-libs/armadillo')
-rw-r--r--sci-libs/armadillo/ChangeLog7
-rw-r--r--sci-libs/armadillo/Manifest10
-rw-r--r--sci-libs/armadillo/armadillo-1.2.0.ebuild60
3 files changed, 72 insertions, 5 deletions
diff --git a/sci-libs/armadillo/ChangeLog b/sci-libs/armadillo/ChangeLog
index 254e59df8cbe..7945d2e2ca16 100644
--- a/sci-libs/armadillo/ChangeLog
+++ b/sci-libs/armadillo/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/armadillo
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/armadillo/ChangeLog,v 1.1 2011/03/06 19:23:25 bicatali Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/armadillo/ChangeLog,v 1.2 2011/05/04 00:29:37 bicatali Exp $
+
+*armadillo-1.2.0 (04 May 2011)
+
+ 04 May 2011; SĂ©bastien Fabbro <bicatali@gentoo.org> +armadillo-1.2.0.ebuild:
+ Version bump
*armadillo-1.1.6 (06 Mar 2011)
diff --git a/sci-libs/armadillo/Manifest b/sci-libs/armadillo/Manifest
index 8a011d421bb8..60788bda3f3b 100644
--- a/sci-libs/armadillo/Manifest
+++ b/sci-libs/armadillo/Manifest
@@ -2,13 +2,15 @@
Hash: SHA1
DIST armadillo-1.1.6.tar.gz 2861337 RMD160 4a8fe4ce8b33676f2a498fae0245dd502328ec94 SHA1 acc2fecb3ce801a53991a37df826c20c8798b037 SHA256 aefe705a22328cddf229c72ee058f4308a09406591e5b03e9487704a42d82b13
+DIST armadillo-1.2.0.tar.gz 2865477 RMD160 e150425d1c03470256f75b635765b849de40fd48 SHA1 ab5d4037ef2ee997b3a78809bc069f37305da1a7 SHA256 859dc5a2d6934a46bd18b42492a0f1c7b97b201c6cc95b4352b8c5b9631e69a3
EBUILD armadillo-1.1.6.ebuild 1388 RMD160 0187f13365213b62769a3731986e0c1b0b3288e3 SHA1 f409269b5b83c077e1e1ef40ca1061106ad694aa SHA256 b227e7d4ac125520c349f4376dd2d7b6d1d481e587a02cac9596d58a9142564c
-MISC ChangeLog 558 RMD160 849dc20f99a09207a0b503ac2b6c9f7b72a67865 SHA1 fb0c7ef0bb07cf07bedb2313f2ca1b7a3080107d SHA256 8b6907d8734278e9c98306fd2af8065bd80f44780b7532e861b14d2bffef0364
+EBUILD armadillo-1.2.0.ebuild 1395 RMD160 8176468a788cdf23719df191621594cbee4de479 SHA1 b309da98319c1158efccc68da1fb416cd2cd9de1 SHA256 54e8ca1285b44bf5e846c8e2feea2c5484bcce81d42fa5ee457d557d2425e632
+MISC ChangeLog 686 RMD160 0f03814c8f495b5555b81c5ccdcf29af202d3575 SHA1 c3e80e4bae3a5730e505afcaf86278c3c7407ee4 SHA256 f21418d0460dddd6a13f5a96b3c3e9393d490e8a641e5091ff4b280e7a07c41f
MISC metadata.xml 935 RMD160 38e6aad6ddef5267ac67645d8b1bd11c9732d239 SHA1 0c4a7925a4f17a9b6afb06576ee0868088c63d92 SHA256 ed59337148b690b381dfd0873e0f0c8cbd7f939cceabd348e2709e9d901496c0
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk1z3zgACgkQ1ycZbhPLE2DSigCgnrNSdrqygRpYyRaCcSvrQP5+
-qgcAoKgNAQnXI4uYDwAvu/ZoRrpm81Gx
-=8lZd
+iEYEARECAAYFAk3AnmgACgkQ1ycZbhPLE2BFRQCeKc9m7Lq6bfCwKkqC86TMq7By
+CO0An3Fbs7n27k/n87/mac8XqCC3HX3l
+=9Lwc
-----END PGP SIGNATURE-----
diff --git a/sci-libs/armadillo/armadillo-1.2.0.ebuild b/sci-libs/armadillo/armadillo-1.2.0.ebuild
new file mode 100644
index 000000000000..9054e841231e
--- /dev/null
+++ b/sci-libs/armadillo/armadillo-1.2.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/armadillo/armadillo-1.2.0.ebuild,v 1.1 2011/05/04 00:29:37 bicatali Exp $
+
+EAPI="3"
+CMAKE_IN_SOURCE_BUILD=1
+inherit cmake-utils
+
+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 ~x86"
+IUSE="atlas blas doc lapack"
+
+RDEPEND=">=dev-libs/boost-1.34
+ atlas? ( sci-libs/lapack-atlas )
+ blas? ( virtual/blas )
+ lapack? ( virtual/lapack )"
+
+DEPEND="${DEPEND}
+ dev-util/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="$(pkg-config --libs blas)"
+ )
+ fi
+ if use lapack; then
+ mycmakeargs+=(
+ -DLAPACK_FOUND=ON
+ -DLAPACK_LIBRARIES="$(pkg-config --libs lapack)"
+ )
+ fi
+ if use atlas; then
+ mycmakeargs=(
+ -DCBLAS_FOUND=ON
+ -DCLAPACK_FOUND=ON
+ -DATLAS_INCLUDE_DIR="${EPREFIX}/usr/include/atlas/"
+ -DCBLAS_LIBRARIES="$(pkg-config --libs cblas)"
+ -DCLAPACK_LIBRARIES="-L${EPREFIX}/usr/lib64/lapack/atlas -llapack"
+ )
+ fi
+ cmake-utils_src_configure
+}
+
+src_install() {
+ cmake-utils_src_install
+ use doc && dodoc docs/*pdf
+}