summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2006-10-24 19:04:32 +0000
committerTiziano Müller <dev-zero@gentoo.org>2006-10-24 19:04:32 +0000
commit2ca9909cdf303b984cd889aa943bcb796642997d (patch)
tree31fb6bc5586bb42f51094ca48998038a0183fb95 /dev-libs/blitz
parentVersion bump. (diff)
downloadgentoo-2-2ca9909cdf303b984cd889aa943bcb796642997d.tar.gz
gentoo-2-2ca9909cdf303b984cd889aa943bcb796642997d.tar.bz2
gentoo-2-2ca9909cdf303b984cd889aa943bcb796642997d.zip
Dependencies fixed. Added USE-flags 'doc', 'debug' and 'examples'. Fixed bug #149479. Old versions removed.
(Portage version: 2.1.2_pre3-r7)
Diffstat (limited to 'dev-libs/blitz')
-rw-r--r--dev-libs/blitz/ChangeLog10
-rw-r--r--dev-libs/blitz/blitz-0.9-r1.ebuild56
-rw-r--r--dev-libs/blitz/files/digest-blitz-0.9-r13
3 files changed, 68 insertions, 1 deletions
diff --git a/dev-libs/blitz/ChangeLog b/dev-libs/blitz/ChangeLog
index 1f88adeba4b9..bd295f487129 100644
--- a/dev-libs/blitz/ChangeLog
+++ b/dev-libs/blitz/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for dev-libs/blitz
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/ChangeLog,v 1.24 2006/10/07 17:28:55 pbienst Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/ChangeLog,v 1.25 2006/10/24 19:04:32 dev-zero Exp $
+
+*blitz-0.9-r1 (24 Oct 2006)
+
+ 24 Oct 2006; Tiziano Müller <dev-zero@gentoo.org> -files/blitz-0.7.diff,
+ -files/blitz-0.8-makefile.patch, -blitz-0.6.ebuild, -blitz-0.7.ebuild,
+ -blitz-0.8.ebuild, +blitz-0.9-r1.ebuild:
+ Dependencies fixed. Added USE-flags 'doc', 'debug' and 'examples'. Fixed bug
+ #149479.
07 Oct 2006; <pbienst@gentoo.org> blitz-0.9.ebuild:
Add --enable-shared.
diff --git a/dev-libs/blitz/blitz-0.9-r1.ebuild b/dev-libs/blitz/blitz-0.9-r1.ebuild
new file mode 100644
index 000000000000..b4727c499801
--- /dev/null
+++ b/dev-libs/blitz/blitz-0.9-r1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/blitz-0.9-r1.ebuild,v 1.1 2006/10/24 19:04:32 dev-zero Exp $
+
+inherit eutils toolchain-funcs fortran
+
+DESCRIPTION="High-performance C++ numeric library"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://www.oonumerics.org/blitz"
+IUSE="debug doc examples icc"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+LICENSE="|| ( GPL-2 Blitz-Artistic )"
+
+DEPEND="icc? ( dev-lang/icc )
+ doc? ( app-doc/doxygen )"
+RDEPEND=""
+
+FORTAN="g77"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e 's/blitz-uninstalled.pc//' \
+ Makefile.in || die "sed failed"
+}
+
+src_compile() {
+ local myconf
+ # ICC: if we've got it, use it
+ use icc && myconf="--with-cxx=icc" || myconf="--with-cxx=gcc"
+
+ export CC=$(tc-getCC) CXX=$(tc-getCXX)
+ econf \
+ --enable-shared \
+ $(use_enable doc doxygen) \
+ $(use_enable doc enable-html-docs) \
+ $(use_enable debug) \
+ ${myconf} || die "econf failed"
+}
+
+src_test() {
+ make check-testsuite || die "selftest failed"
+}
+
+src_install () {
+ dodir /usr/share/doc/${PF}/html
+ emake DESTDIR="${D}" docdir=/usr/share/doc/${PF}/html install || die "emake install failed"
+ dodoc ChangeLog ChangeLog.1 README README.binutils TODO AUTHORS NEWS
+
+ if use examples ; then
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*.cpp
+ fi
+}
diff --git a/dev-libs/blitz/files/digest-blitz-0.9-r1 b/dev-libs/blitz/files/digest-blitz-0.9-r1
new file mode 100644
index 000000000000..555a7b6f79d5
--- /dev/null
+++ b/dev-libs/blitz/files/digest-blitz-0.9-r1
@@ -0,0 +1,3 @@
+MD5 031df2816c73e2d3bd6d667bbac19eca blitz-0.9.tar.gz 3124301
+RMD160 1e1b39a5975f9e5b423365c2d1b047fe0285ed2f blitz-0.9.tar.gz 3124301
+SHA256 88b7c5e062b06767d04511776cf706316026b9357b128e126be88935626d2bcb blitz-0.9.tar.gz 3124301