1 |
markusle 08/07/30 22:24:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: itpp-4.0.5.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
(Portage version: 2.2_rc3/cvs/Linux 2.6.26-SENTINEL-1 i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.82 sci-libs/itpp/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/itpp/ChangeLog?rev=1.82&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/itpp/ChangeLog?rev=1.82&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/itpp/ChangeLog?r1=1.81&r2=1.82 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sci-libs/itpp/ChangeLog,v |
19 |
retrieving revision 1.81 |
20 |
retrieving revision 1.82 |
21 |
diff -u -r1.81 -r1.82 |
22 |
--- ChangeLog 25 May 2008 06:58:46 -0000 1.81 |
23 |
+++ ChangeLog 30 Jul 2008 22:24:45 -0000 1.82 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for sci-libs/itpp |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/itpp/ChangeLog,v 1.81 2008/05/25 06:58:46 corsair Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/itpp/ChangeLog,v 1.82 2008/07/30 22:24:45 markusle Exp $ |
29 |
+ |
30 |
+*itpp-4.0.5 (30 Jul 2008) |
31 |
+ |
32 |
+ 30 Jul 2008; Markus Dittrich <markusle@g.o> +itpp-4.0.5.ebuild: |
33 |
+ Version bump. |
34 |
|
35 |
25 May 2008; Markus Rothe <corsair@g.o> itpp-4.0.4.ebuild: |
36 |
Stable on ppc64; bug #223209 |
37 |
|
38 |
|
39 |
|
40 |
1.1 sci-libs/itpp/itpp-4.0.5.ebuild |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/itpp/itpp-4.0.5.ebuild?rev=1.1&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/itpp/itpp-4.0.5.ebuild?rev=1.1&content-type=text/plain |
44 |
|
45 |
Index: itpp-4.0.5.ebuild |
46 |
=================================================================== |
47 |
# Copyright 1999-2008 Gentoo Foundation |
48 |
# Distributed under the terms of the GNU General Public License v2 |
49 |
# $Header: /var/cvsroot/gentoo-x86/sci-libs/itpp/itpp-4.0.5.ebuild,v 1.1 2008/07/30 22:24:45 markusle Exp $ |
50 |
|
51 |
inherit fortran flag-o-matic |
52 |
|
53 |
# we need this to prevent itpp's specialized debug lib |
54 |
# (built with USE="debug" set) from being stripped |
55 |
RESTRICT="strip" |
56 |
|
57 |
DESCRIPTION="C++ library of mathematical, signal processing and communication classes and functions" |
58 |
LICENSE="GPL-2" |
59 |
HOMEPAGE="http://itpp.sourceforge.net/" |
60 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" |
61 |
|
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
64 |
IUSE="blas debug doc fftw lapack minimal" |
65 |
|
66 |
RDEPEND="!minimal? ( fftw? ( >=sci-libs/fftw-3.0.0 ) ) |
67 |
blas? ( virtual/blas |
68 |
lapack? ( virtual/lapack ) )" |
69 |
DEPEND="${RDEPEND} |
70 |
doc? ( app-doc/doxygen |
71 |
virtual/latex-base )" |
72 |
|
73 |
pkg_setup() { |
74 |
# lapack can only be used in conjunction with blas |
75 |
if use lapack && ! use blas; then |
76 |
die "USE=lapack requires USE=blas to be set" |
77 |
fi |
78 |
} |
79 |
|
80 |
src_compile() { |
81 |
# turn off performance critical debug code |
82 |
append-flags -DNDEBUG |
83 |
|
84 |
# make sure that -g is stripped always since we use |
85 |
# RESTRICT=strip. If debug info is needed please enable |
86 |
# the debug use flag and link against the debug *.so |
87 |
filter-flags -g |
88 |
|
89 |
local blas_conf="--without-blas" |
90 |
local lapack_conf="--without-lapack" |
91 |
if use blas; then |
92 |
if use lapack; then |
93 |
blas_conf="--with-blas=$(pkg-config lapack --libs)" |
94 |
lapack_conf="--with-lapack" |
95 |
else |
96 |
blas_conf="--with-blas=$(pkg-config blas --libs)" |
97 |
fi |
98 |
fi |
99 |
|
100 |
local fftw_conf="--without-fft"; |
101 |
if use fftw; |
102 |
then |
103 |
fftw_conf="--with-fft=-lfftw3" |
104 |
fi |
105 |
|
106 |
local myconf="--docdir=/usr/share/doc/${P}" |
107 |
if use minimal; then |
108 |
myconf="${myconf} --disable-comm --disable-fixed --disable-optim --disable-protocol --disable-signal --disable-srccode" |
109 |
fi |
110 |
|
111 |
econf $(use_enable doc html-doc) \ |
112 |
$(use_enable debug) \ |
113 |
"${blas_conf}" \ |
114 |
"${lapack_conf}" \ |
115 |
"${fftw_conf}" \ |
116 |
${myconf} \ |
117 |
|| die "econf failed" |
118 |
emake || die "emake failed" |
119 |
} |
120 |
|
121 |
src_install() { |
122 |
make install DESTDIR="${D}" || die "make install failed" |
123 |
dodoc AUTHORS ChangeLog ChangeLog-2007 ChangeLog-2006 \ |
124 |
ChangeLog-2005 INSTALL NEWS NEWS-3.10 NEWS-3.99 README TODO \ |
125 |
|| die "failed to install docs" |
126 |
} |