summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Dittrich <markusle@gentoo.org>2008-10-08 22:50:58 +0000
committerMarkus Dittrich <markusle@gentoo.org>2008-10-08 22:50:58 +0000
commitbbb8b4cc77e9b130267f742589709ca4f09ccc41 (patch)
tree2fb0fce4faef4d426f4fc5ae9e503c20e5da95d9 /sci-libs/itpp
parentVersion bump to 1.4.8_pre2 (diff)
downloadhistorical-bbb8b4cc77e9b130267f742589709ca4f09ccc41.tar.gz
historical-bbb8b4cc77e9b130267f742589709ca4f09ccc41.tar.bz2
historical-bbb8b4cc77e9b130267f742589709ca4f09ccc41.zip
Version bump.
Package-Manager: portage-2.2_rc11/cvs/Linux 2.6.26-SENTINEL-2 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.6.ebuild80
3 files changed, 89 insertions, 2 deletions
diff --git a/sci-libs/itpp/ChangeLog b/sci-libs/itpp/ChangeLog
index af34e16ac2b6..a5f394041f38 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.82 2008/07/30 22:24:45 markusle Exp $
+# $Header: /var/cvsroot/gentoo-x86/sci-libs/itpp/ChangeLog,v 1.83 2008/10/08 22:50:58 markusle Exp $
+
+*itpp-4.0.6 (08 Oct 2008)
+
+ 08 Oct 2008; Markus Dittrich <markusle@gentoo.org> +itpp-4.0.6.ebuild:
+ Version bump.
*itpp-4.0.5 (30 Jul 2008)
diff --git a/sci-libs/itpp/Manifest b/sci-libs/itpp/Manifest
index 15145b629abd..7cc69fc42130 100644
--- a/sci-libs/itpp/Manifest
+++ b/sci-libs/itpp/Manifest
@@ -3,8 +3,10 @@ AUX itpp-4.0.4-vec.patch 458 RMD160 c6ead292dbcdc9e57490a0f801262294e8b8a920 SHA
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
+DIST itpp-4.0.6.tar.bz2 976917 RMD160 25ea74e9ab718c5f689145c45a0cd2712c5e94f0 SHA1 e31c51d0469f9b485b9ef4ef4f1d33a41fdde40a SHA256 a0d5fb03149c361b98556b4736980a4eae4de14a550153f343c60fd29ac5ef94
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
EBUILD itpp-4.0.5.ebuild 2251 RMD160 051074435812d7f9ca1c33fe8afaa63e77529fc7 SHA1 93dc9d4d697ca03de918658a3cebf39708f8ffc0 SHA256 5d8bb049a972de95528b36ff89df2087702096a54312f42c0ab5d2c388d7a60f
-MISC ChangeLog 12463 RMD160 aaa98e3ac200c2cb3c022bc70912f4d295a67b2a SHA1 c156d439c46c279d16ae56b2a13f1b5e9f82b226 SHA256 a44c95edc2a021f701054a9934c3f12f9a29697fa5b5fa73d9c60770d1ee9120
+EBUILD itpp-4.0.6.ebuild 2251 RMD160 4d33c16a6f15a4fab596080ac91c465e1a17cb0c SHA1 63d856225781de78cacadc6c6c10d143e56220f5 SHA256 d7a5833538b9b65c06b5821f5cbfa823ccb0d6ada4f1b2a60ce16eebce5a857f
+MISC ChangeLog 12580 RMD160 2dd3b19c2a671a5a246fe92b553add58fe71c539 SHA1 5ace71d8dfbf3ecaa259ed600854d1caac97fe87 SHA256 4b2eb36e747d183d4e6c9e549d6f0ac6a245bd27c2b819792bc748b332b98985
MISC metadata.xml 254 RMD160 991c43f74018cbcaaa60b41290c912a8b61091c8 SHA1 83928b80dc644941d59b64e04e0964b1c1fa3005 SHA256 80784c7acbd54102b4d3fc01c3fb2ae5862732093798671596c67a8350c25454
diff --git a/sci-libs/itpp/itpp-4.0.6.ebuild b/sci-libs/itpp/itpp-4.0.6.ebuild
new file mode 100644
index 000000000000..d699f0e9a7c1
--- /dev/null
+++ b/sci-libs/itpp/itpp-4.0.6.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.6.ebuild,v 1.1 2008/10/08 22:50:58 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"
+}