summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-07-30 22:24:45 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-07-30 22:24:45 +0000
commit956f4fe14e2887f9f1022bb71829a9224e957385 (patch)
tree50e5ee20a77dc448c9da40eabb6cae9c14c0d81c /sci-libs/itpp
parentstable ppc64, bug 232484 (diff)
downloadhistorical-956f4fe14e2887f9f1022bb71829a9224e957385.tar.gz
historical-956f4fe14e2887f9f1022bb71829a9224e957385.tar.bz2
historical-956f4fe14e2887f9f1022bb71829a9224e957385.zip
Version bump.
Package-Manager: portage-2.2_rc3/cvs/Linux 2.6.26-SENTINEL-1 i686
Diffstat (limited to 'sci-libs/itpp')
-rw-r--r--sci-libs/itpp/ChangeLog7
-rw-r--r--sci-libs/itpp/Manifest4
-rw-r--r--sci-libs/itpp/itpp-4.0.5.ebuild80
3 files changed, 89 insertions, 2 deletions
diff --git a/sci-libs/itpp/ChangeLog b/sci-libs/itpp/ChangeLog
index 81716e236c69..af34e16ac2b6 100644
--- a/sci-libs/itpp/ChangeLog
+++ b/sci-libs/itpp/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sci-libs/itpp
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sci-libs/itpp/ChangeLog,v 1.81 2008/05/25 06:58:46 corsair Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/itpp/ChangeLog,v 1.82 2008/07/30 22:24:45 markusle Exp $
+
+*itpp-4.0.5 (30 Jul 2008)
+
+ 30 Jul 2008; Markus Dittrich <markusle@gentoo.org> +itpp-4.0.5.ebuild:
+ Version bump.
25 May 2008; Markus Rothe <corsair@gentoo.org> itpp-4.0.4.ebuild:
Stable on ppc64; bug #223209
diff --git a/sci-libs/itpp/Manifest b/sci-libs/itpp/Manifest
index bb5444b0b1f4..15145b629abd 100644
--- a/sci-libs/itpp/Manifest
+++ b/sci-libs/itpp/Manifest
@@ -2,7 +2,9 @@ AUX itpp-4.0.1-zdotu-debian.patch 2160 RMD160 7eab6b2dcd41edaf0355ae7f066427b1c6
AUX itpp-4.0.4-vec.patch 458 RMD160 c6ead292dbcdc9e57490a0f801262294e8b8a920 SHA1 ba4aeffa61ddd0201c06b58d9a57ce86d049cf4c SHA256 491c989b42c0ecaaee294158197015efc5f3cbbefec574535078f3c257dba56b
DIST itpp-4.0.3.tar.bz2 942321 RMD160 d0a8030ddb4f51408b977e1a4c687612eefa42db SHA1 a969b44f2999de154e5fc7e289560fdbb9368c66 SHA256 25b5d1670c2e84a6054bb1aa7c1707f9a75d25a37932ae9528313197b3dbed21
DIST itpp-4.0.4.tar.bz2 946465 RMD160 2876d2f5d14c3875d5427b01bbd29d781320365c SHA1 00acb56f2da43963fbfc17a2dd5d1ec600f1ab3f SHA256 e15ca9a7ba42a5c9e1af0ce2128bed54f91323501ae33a9156e25ba0301cbac6
+DIST itpp-4.0.5.tar.bz2 969529 RMD160 b91ae7e11d6f6c130cce60a379f7b70893bbf5b7 SHA1 34e8d6d46f5bae0d56016bf6b19d50fca9922c6b SHA256 527f1389258d65eca0092d06f53407eb66d539dfaad4be729757376600babfd8
EBUILD itpp-4.0.3.ebuild 1941 RMD160 70324af99ee175ac38c0c1befd425d8e31e8b969 SHA1 4c238c41ba0753946a3583c904a4b77f16afade9 SHA256 269b67713c2638511468054d90ac58c3dfb997dbb4dadf9bf21829cc500a2a50
EBUILD itpp-4.0.4.ebuild 2325 RMD160 4c19301a8334d399f0f91c3e9ef955a788226a88 SHA1 2399419681ddda818d9c5e4bd913641dccab3588 SHA256 df52f35355924fbe1f7734e752007ea778838faaf187dd769a2e62ee0fa04b90
-MISC ChangeLog 12345 RMD160 ec8443f6669b0025f61c8d6e44b312c157b557c1 SHA1 cb18f77ec5c77eaca332db0ecd4687453c81ed1b SHA256 cdbf3c0dc92bdfd0b688dfbc88a55898aad8560963949a965e4a30bd6e3b1e00
+EBUILD itpp-4.0.5.ebuild 2251 RMD160 051074435812d7f9ca1c33fe8afaa63e77529fc7 SHA1 93dc9d4d697ca03de918658a3cebf39708f8ffc0 SHA256 5d8bb049a972de95528b36ff89df2087702096a54312f42c0ab5d2c388d7a60f
+MISC ChangeLog 12463 RMD160 aaa98e3ac200c2cb3c022bc70912f4d295a67b2a SHA1 c156d439c46c279d16ae56b2a13f1b5e9f82b226 SHA256 a44c95edc2a021f701054a9934c3f12f9a29697fa5b5fa73d9c60770d1ee9120
MISC metadata.xml 254 RMD160 991c43f74018cbcaaa60b41290c912a8b61091c8 SHA1 83928b80dc644941d59b64e04e0964b1c1fa3005 SHA256 80784c7acbd54102b4d3fc01c3fb2ae5862732093798671596c67a8350c25454
diff --git a/sci-libs/itpp/itpp-4.0.5.ebuild b/sci-libs/itpp/itpp-4.0.5.ebuild
new file mode 100644
index 000000000000..26ba4bb260f6
--- /dev/null
+++ b/sci-libs/itpp/itpp-4.0.5.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/itpp/itpp-4.0.5.ebuild,v 1.1 2008/07/30 22:24:45 markusle Exp $
+
+inherit fortran flag-o-matic
+
+# we need this to prevent itpp's specialized debug lib
+# (built with USE="debug" set) from being stripped
+RESTRICT="strip"
+
+DESCRIPTION="C++ library of mathematical, signal processing and communication 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"
+
+RDEPEND="!minimal? ( fftw? ( >=sci-libs/fftw-3.0.0 ) )
+ blas? ( virtual/blas
+ lapack? ( virtual/lapack ) )"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen
+ virtual/latex-base )"
+
+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
+ append-flags -DNDEBUG
+
+ # make sure that -g is stripped always since we use
+ # RESTRICT=strip. If debug info is needed please enable
+ # the debug use flag and link against the debug *.so
+ filter-flags -g
+
+ local blas_conf="--without-blas"
+ local lapack_conf="--without-lapack"
+ if use blas; then
+ if use lapack; then
+ blas_conf="--with-blas=$(pkg-config lapack --libs)"
+ lapack_conf="--with-lapack"
+ else
+ blas_conf="--with-blas=$(pkg-config blas --libs)"
+ fi
+ fi
+
+ local fftw_conf="--without-fft";
+ if use fftw;
+ then
+ fftw_conf="--with-fft=-lfftw3"
+ fi
+
+ local myconf="--docdir=/usr/share/doc/${P}"
+ 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}" \
+ ${myconf} \
+ || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make install DESTDIR="${D}" || die "make install failed"
+ dodoc AUTHORS ChangeLog ChangeLog-2007 ChangeLog-2006 \
+ ChangeLog-2005 INSTALL NEWS NEWS-3.10 NEWS-3.99 README TODO \
+ || die "failed to install docs"
+}