From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-libs/armadillo: armadillo-3.4.3.ebuild ChangeLog |
Date: | Thu, 01 Nov 2012 19:24:31 |
Message-Id: | 20121101192414.210A321600@flycatcher.gentoo.org |
1 | bicatali 12/11/01 19:24:14 |
2 | |
3 | Modified: ChangeLog |
4 | Added: armadillo-3.4.3.ebuild |
5 | Log: |
6 | Version bump |
7 | |
8 | (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360) |
9 | |
10 | Revision Changes Path |
11 | 1.17 sci-libs/armadillo/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/armadillo/ChangeLog?rev=1.17&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/armadillo/ChangeLog?rev=1.17&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/armadillo/ChangeLog?r1=1.16&r2=1.17 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/sci-libs/armadillo/ChangeLog,v |
20 | retrieving revision 1.16 |
21 | retrieving revision 1.17 |
22 | diff -u -r1.16 -r1.17 |
23 | --- ChangeLog 20 Jul 2012 21:51:23 -0000 1.16 |
24 | +++ ChangeLog 1 Nov 2012 19:24:13 -0000 1.17 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for sci-libs/armadillo |
27 | # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/sci-libs/armadillo/ChangeLog,v 1.16 2012/07/20 21:51:23 bicatali Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/sci-libs/armadillo/ChangeLog,v 1.17 2012/11/01 19:24:13 bicatali Exp $ |
30 | + |
31 | +*armadillo-3.4.3 (01 Nov 2012) |
32 | + |
33 | + 01 Nov 2012; Sébastien Fabbro <bicatali@g.o> +armadillo-3.4.3.ebuild: |
34 | + Version bump |
35 | |
36 | *armadillo-3.2.4 (20 Jul 2012) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 sci-libs/armadillo/armadillo-3.4.3.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/armadillo/armadillo-3.4.3.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/armadillo/armadillo-3.4.3.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: armadillo-3.4.3.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2012 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/sci-libs/armadillo/armadillo-3.4.3.ebuild,v 1.1 2012/11/01 19:24:13 bicatali Exp $ |
51 | |
52 | EAPI=4 |
53 | |
54 | CMAKE_IN_SOURCE_BUILD=1 |
55 | |
56 | inherit cmake-utils |
57 | |
58 | DESCRIPTION="Streamlined C++ linear algebra library" |
59 | HOMEPAGE="http://arma.sourceforge.net/" |
60 | SRC_URI="mirror://sourceforge/arma/${P}.tar.gz" |
61 | |
62 | LICENSE="LGPL-3" |
63 | SLOT="0" |
64 | KEYWORDS="~amd64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" |
65 | IUSE="atlas blas doc examples lapack" |
66 | |
67 | RDEPEND=">=dev-libs/boost-1.34 |
68 | atlas? ( sci-libs/lapack-atlas ) |
69 | blas? ( virtual/blas ) |
70 | lapack? ( virtual/lapack )" |
71 | |
72 | DEPEND="${DEPEND} |
73 | virtual/pkgconfig" |
74 | |
75 | src_prepare() { |
76 | # avoid the automagic cmake macros |
77 | sed -i -e '/ARMA_Find/d' CMakeLists.txt || die |
78 | } |
79 | |
80 | src_configure() { |
81 | local mycmakeargs=() |
82 | if use blas; then |
83 | mycmakeargs+=( |
84 | -DBLAS_FOUND=ON |
85 | -DBLAS_LIBRARIES="$(pkg-config --libs blas)" |
86 | ) |
87 | fi |
88 | if use lapack; then |
89 | mycmakeargs+=( |
90 | -DLAPACK_FOUND=ON |
91 | -DLAPACK_LIBRARIES="$(pkg-config --libs lapack)" |
92 | ) |
93 | fi |
94 | if use atlas; then |
95 | mycmakeargs=( |
96 | -DARMA_USE_ATLAS=ON |
97 | -DCBLAS_FOUND=ON |
98 | -DCLAPACK_FOUND=ON |
99 | -DATLAS_INCLUDE_DIR="${EPREFIX}/usr/include/atlas/" |
100 | -DCBLAS_LIBRARIES="$(pkg-config --libs cblas)" |
101 | -DCLAPACK_LIBRARIES="-L${EPREFIX}/usr/lib64/lapack/atlas -llapack" |
102 | ) |
103 | fi |
104 | cmake-utils_src_configure |
105 | } |
106 | |
107 | src_install() { |
108 | cmake-utils_src_install |
109 | dodoc README.txt |
110 | use doc && dodoc docs/*pdf |
111 | if use examples; then |
112 | insinto /usr/share/doc/${PF} |
113 | doins -r examples |
114 | fi |
115 | } |