Gentoo Archives: gentoo-commits

From: "Markus Dittrich (markusle)" <markusle@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/itpp: ChangeLog itpp-4.0.4.ebuild itpp-4.0.0.ebuild
Date: Fri, 04 Apr 2008 17:56:42
Message-Id: E1Jhq9W-0007Uz-QX@stork.gentoo.org
1 markusle 08/04/04 17:56:38
2
3 Modified: ChangeLog
4 Added: itpp-4.0.4.ebuild
5 Removed: itpp-4.0.0.ebuild
6 Log:
7 Version bump.
8 (Portage version: 2.1.4.4)
9
10 Revision Changes Path
11 1.67 sci-libs/itpp/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/itpp/ChangeLog?rev=1.67&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/itpp/ChangeLog?rev=1.67&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/itpp/ChangeLog?r1=1.66&r2=1.67
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-libs/itpp/ChangeLog,v
20 retrieving revision 1.66
21 retrieving revision 1.67
22 diff -u -r1.66 -r1.67
23 --- ChangeLog 21 Feb 2008 20:37:46 -0000 1.66
24 +++ ChangeLog 4 Apr 2008 17:56:38 -0000 1.67
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-libs/itpp
27 # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/itpp/ChangeLog,v 1.66 2008/02/21 20:37:46 markusle Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/itpp/ChangeLog,v 1.67 2008/04/04 17:56:38 markusle Exp $
30 +
31 +*itpp-4.0.4 (04 Apr 2008)
32 +
33 + 04 Apr 2008; Markus Dittrich <markusle@g.o> -itpp-4.0.0.ebuild,
34 + +itpp-4.0.4.ebuild:
35 + Version bump.
36
37 21 Feb 2008; Markus Dittrich <markusle@g.o> itpp-4.0.3.ebuild:
38 Fixed typo ChangeLog2007 --> ChangeLog-2007.
39
40
41
42 1.1 sci-libs/itpp/itpp-4.0.4.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/itpp/itpp-4.0.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/itpp/itpp-4.0.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: itpp-4.0.4.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-libs/itpp/itpp-4.0.4.ebuild,v 1.1 2008/04/04 17:56:38 markusle Exp $
52
53 inherit fortran flag-o-matic
54
55 DESCRIPTION="C++ library of mathematical, signal/speech processing, and communications classes and functions"
56 LICENSE="GPL-2"
57 HOMEPAGE="http://itpp.sourceforge.net/"
58 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
59
60 SLOT="0"
61 KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
62 IUSE="blas debug doc fftw lapack minimal"
63
64 DEPEND="!minimal? ( fftw? ( >=sci-libs/fftw-3.0.0 ) )
65 blas? ( virtual/blas
66 lapack? ( virtual/lapack ) )
67 doc? ( app-doc/doxygen
68 virtual/tetex )"
69
70 pkg_setup() {
71 # lapack can only be used in conjunction with blas
72 if use lapack && ! use blas; then
73 die "USE=lapack requires USE=blas to be set"
74 fi
75 }
76
77 src_compile() {
78 # turn off performance critical debug code
79 append-flags -DNDEBUG
80
81 local blas_conf="--without-blas"
82 local lapack_conf="--without-lapack"
83 if use blas; then
84 if use lapack; then
85 blas_conf="--with-blas=$(pkg-config lapack --libs)"
86 lapack_conf="--with-lapack"
87 else
88 blas_conf="--with-blas=$(pkg-config blas --libs)"
89 fi
90 fi
91
92 local fftw_conf="--without-fft";
93 if use fftw;
94 then
95 fftw_conf="--with-fft=-lfftw3"
96 fi
97
98 local myconf="--docdir=/usr/share/doc/${P}"
99 if use minimal; then
100 myconf="${myconf} --disable-comm --disable-fixed --disable-optim --disable-protocol --disable-signal --disable-srccode"
101 fi
102
103 econf $(use_enable doc html-doc) \
104 $(use_enable debug) \
105 "${blas_conf}" \
106 "${lapack_conf}" \
107 "${fftw_conf}" \
108 ${myconf} \
109 || die "econf failed"
110 emake || die "emake failed"
111 }
112
113 src_install() {
114 make install DESTDIR="${D}" || die "make install failed"
115 dodoc AUTHORS ChangeLog ChangeLog-2007 ChangeLog-2006 \
116 ChangeLog-2005 INSTALL NEWS NEWS-3.10 NEWS-3.99 README TODO \
117 || die "failed to install docs"
118 }
119
120
121
122 --
123 gentoo-commits@l.g.o mailing list