summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2007-10-16 22:19:11 +0000
committerMarkus Dittrich <markusle@gentoo.org>2007-10-16 22:19:11 +0000
commit4f478bbe7e2e02d34c38f356e79412bdb0293e75 (patch)
tree402374bee59e7d9b840358a492229da3ba9e7c7b /sci-libs
parentgnome-base/gnome-session: Bump to version 2.20.1 (bugfix and translations) wi... (diff)
downloadgentoo-2-4f478bbe7e2e02d34c38f356e79412bdb0293e75.tar.gz
gentoo-2-4f478bbe7e2e02d34c38f356e79412bdb0293e75.tar.bz2
gentoo-2-4f478bbe7e2e02d34c38f356e79412bdb0293e75.zip
New revision and removed obsolete version.
(Portage version: 2.1.3.13)
Diffstat (limited to 'sci-libs')
-rw-r--r--sci-libs/itpp/ChangeLog8
-rw-r--r--sci-libs/itpp/files/digest-itpp-3.10.103
-rw-r--r--sci-libs/itpp/files/digest-itpp-4.0.03
-rw-r--r--sci-libs/itpp/itpp-3.10.10.ebuild59
-rw-r--r--sci-libs/itpp/itpp-4.0.0.ebuild71
5 files changed, 81 insertions, 63 deletions
diff --git a/sci-libs/itpp/ChangeLog b/sci-libs/itpp/ChangeLog
index f22548c3aecb..8b373fba6643 100644
--- a/sci-libs/itpp/ChangeLog
+++ b/sci-libs/itpp/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sci-libs/itpp
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/itpp/ChangeLog,v 1.53 2007/10/10 20:16:49 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/itpp/ChangeLog,v 1.54 2007/10/16 22:19:10 markusle Exp $
+
+*itpp-4.0.0 (16 Oct 2007)
+
+ 16 Oct 2007; Markus Dittrich <markusle@gentoo.org> -itpp-3.10.10.ebuild,
+ +itpp-4.0.0.ebuild:
+ New revision and removed obsolete version.
10 Oct 2007; Markus Rothe <corsair@gentoo.org> itpp-3.10.12.ebuild:
Stable on ppc64; bug #190183
diff --git a/sci-libs/itpp/files/digest-itpp-3.10.10 b/sci-libs/itpp/files/digest-itpp-3.10.10
deleted file mode 100644
index fb33d85dedc7..000000000000
--- a/sci-libs/itpp/files/digest-itpp-3.10.10
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 8effb412028ce990d076489128eaab90 itpp-3.10.10.tar.bz2 800010
-RMD160 7e7f730bc6a08067b9e464eddbc0aec402d7797f itpp-3.10.10.tar.bz2 800010
-SHA256 f3e100647c331ba75dd9483b337b7f43e4f7e9c9554af3f761dffb6e58525d34 itpp-3.10.10.tar.bz2 800010
diff --git a/sci-libs/itpp/files/digest-itpp-4.0.0 b/sci-libs/itpp/files/digest-itpp-4.0.0
new file mode 100644
index 000000000000..f35f27fbf879
--- /dev/null
+++ b/sci-libs/itpp/files/digest-itpp-4.0.0
@@ -0,0 +1,3 @@
+MD5 c259921dc1143a92419324f031fc7151 itpp-4.0.0.tar.bz2 917273
+RMD160 b464d48ac03719ab003877b6b92f5ff714c63f4d itpp-4.0.0.tar.bz2 917273
+SHA256 56808c82c33f5d5dedb37ad5b6bf28814682b038514993e3cd1218dd853186af itpp-4.0.0.tar.bz2 917273
diff --git a/sci-libs/itpp/itpp-3.10.10.ebuild b/sci-libs/itpp/itpp-3.10.10.ebuild
deleted file mode 100644
index 55d9cec4d1de..000000000000
--- a/sci-libs/itpp/itpp-3.10.10.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/itpp/itpp-3.10.10.ebuild,v 1.9 2007/10/08 13:16:42 markusle Exp $
-
-inherit fortran
-
-DESCRIPTION="IT++ is a C++ library of mathematical, signal processing, speech processing, and communications classes and functions"
-LICENSE="GPL-2"
-HOMEPAGE="http://itpp.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
-
-SLOT="0"
-KEYWORDS="amd64 ppc ppc64 sparc x86"
-IUSE="blas cblas debug doc fftw lapack"
-
-DEPEND="fftw? ( || ( >=sci-libs/fftw-3.0.0
- >=sci-libs/acml-2.5.3 ) )
- blas? ( virtual/blas
- cblas? ( || ( >=sci-libs/gsl-1.4
- >=sci-libs/acml-2.5.3
- >=sci-libs/blas-atlas-3.6.0
- sci-libs/cblas-reference ) )
- lapack? ( virtual/lapack ) )
- doc? ( app-doc/doxygen
- virtual/tetex )"
-
-pkg_setup() {
- # lapack/cblas can only be used in conjunction with blas
- if use cblas && ! use blas; then
- die "USE=cblas requires USE=blas to be set"
- fi
- if use lapack && ! use blas; then
- die "USE=lapack requires USE=blas to be set"
- fi
-}
-
-src_compile() {
- local myconf
-
- if use blas; then
- myconf="--with-blas=-lblas"
- else
- myconf="--without-blas"
- fi
- econf $(use_enable doc html-doc) \
- $(use_enable debug) \
- $(use_with cblas) \
- $(use_with lapack) \
- $(use_with fftw fft) \
- "$myconf" \
- || die "econf failed"
- emake || die "emake failed"
-}
-
-src_install() {
- make install DESTDIR="${D}" || die "make install failed"
- dodoc AUTHORS ChangeLog* INSTALL NEWS* README || \
- die "failed to install docs"
-}
diff --git a/sci-libs/itpp/itpp-4.0.0.ebuild b/sci-libs/itpp/itpp-4.0.0.ebuild
new file mode 100644
index 000000000000..223435267d04
--- /dev/null
+++ b/sci-libs/itpp/itpp-4.0.0.ebuild
@@ -0,0 +1,71 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/itpp/itpp-4.0.0.ebuild,v 1.1 2007/10/16 22:19:10 markusle Exp $
+
+inherit fortran flag-o-matic
+
+DESCRIPTION="IT++ is a C++ library of mathematical, signal processing, speech processing, and communications classes and functions"
+LICENSE="GPL-2"
+HOMEPAGE="http://itpp.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="blas debug doc fftw lapack minimal"
+
+DEPEND="!minimal? ( fftw? ( || ( >=sci-libs/fftw-3.0.0 ) ) )
+ blas? ( virtual/blas
+ lapack? ( virtual/lapack ) )
+ doc? ( app-doc/doxygen
+ virtual/tetex )"
+
+pkg_setup() {
+ # lapack can only be used in conjunction with blas
+ if use lapack && ! use blas; then
+ die "USE=lapack requires USE=blas to be set"
+ fi
+}
+
+src_compile() {
+ # turn off performance critical debug code in development
+ # versions
+ append-flags -DNDEBUG
+
+ local lapack_conf
+ if use lapack; then
+ lapack_conf="--with-lapack=$(pkg-config lapack --libs)"
+ else
+ lapack_conf="--without-lapack"
+ fi
+
+ local blas_conf
+ if use blas; then
+ blas_conf="--with-blas=$(pkg-config blas --libs)"
+ else
+ blas_conf="--without-blas"
+ fi
+
+ local fftw_conf;
+ if use fftw;
+ then
+ fftw_conf="--with-fft=-lfftw3"
+ fi
+
+ if use minimal; then
+ myconf="${myconf} --disable-comm --disable-fixed --disable-optim --disable-protocol --disable-signal --disable-srccode"
+ fi
+
+ econf $(use_enable doc html-doc) \
+ $(use_enable debug) \
+ "${blas_conf}" \
+ "${lapack_conf}" \
+ "${fftw_conf}" \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "make install failed"
+ dodoc AUTHORS ChangeLog ChangeLog-2006 ChangeLog-2005 INSTALL \
+ NEWS NEWS-3.10 NEWS-3.99 README TODO || die "failed to install docs"
+}