summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ Robert Ray <jrray@gentoo.org>2002-10-26 17:21:33 +0000
committerJ Robert Ray <jrray@gentoo.org>2002-10-26 17:21:33 +0000
commit695c2146c3ef6a8c97959d16243f5df02709b6c3 (patch)
tree609282e89fb477baa09e2cf6156b47276f3af8f4 /dev-libs/blitz
parentnew improved fubar version (diff)
downloadhistorical-695c2146c3ef6a8c97959d16243f5df02709b6c3.tar.gz
historical-695c2146c3ef6a8c97959d16243f5df02709b6c3.tar.bz2
historical-695c2146c3ef6a8c97959d16243f5df02709b6c3.zip
new ebuild
Diffstat (limited to 'dev-libs/blitz')
-rw-r--r--dev-libs/blitz/ChangeLog8
-rw-r--r--dev-libs/blitz/blitz-0.6.ebuild42
-rw-r--r--dev-libs/blitz/files/digest-blitz-0.61
3 files changed, 51 insertions, 0 deletions
diff --git a/dev-libs/blitz/ChangeLog b/dev-libs/blitz/ChangeLog
new file mode 100644
index 000000000000..11e7d366e14f
--- /dev/null
+++ b/dev-libs/blitz/ChangeLog
@@ -0,0 +1,8 @@
+# ChangeLog for dev-libs/blitz
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/ChangeLog,v 1.1 2002/10/26 17:21:33 jrray Exp $
+
+*blitz-0.6 (26 Oct 2002)
+
+ 26 Oct 2002; J Robert Ray <jrray@gentoo.org> : New ebuild, submitted
+ by Jeffrey Palmer <jeffrey.palmer@acm.org>
diff --git a/dev-libs/blitz/blitz-0.6.ebuild b/dev-libs/blitz/blitz-0.6.ebuild
new file mode 100644
index 000000000000..6020c49ed79c
--- /dev/null
+++ b/dev-libs/blitz/blitz-0.6.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/blitz-0.6.ebuild,v 1.1 2002/10/26 17:21:33 jrray Exp $
+
+S=${WORKDIR}/${P}
+DESCRIPTION="High-performance C++ numeric library"
+SRC_URI="mirror://sourceforge/${PN/-/}/${P}.tar.gz"
+HOMEPAGE="http://www.oonumerics.org/blitz"
+DEPEND="icc? ( dev-lang/icc )"
+IUSE="icc"
+
+SLOT="0"
+KEYWORDS="~x86"
+LICENSE="GPL-2"
+
+src_compile() {
+
+ # default to gcc
+ local myconf="--with-cxx=gcc"
+ # ICC: if we've got it, use it
+ use icc && myconf="--with-cxx=icc"
+ # oops, they're not in the distribution, but the build requires them
+ touch NEWS AUTHORS
+ ./configure ${myconf} --prefix=${D}/usr
+ emake || die
+ emake check-testsuite || die
+}
+
+src_install () {
+
+ emake install || die
+ cd ${S}
+ dodoc ChangeLog ChangeLog.1 LICENSE README README.binutils TODO COPYING LEGAL
+ cd ${D}/usr
+ dohtml -r doc/blitz
+ rm -rf ${D}/usr/doc
+ rm -rf ${D}/usr/demos
+ rm -rf ${D}/usr/testsuite
+ rm ${D}/usr/include/random/Makefile.am
+ rm ${D}/usr/examples/Makefile
+ mv benchmarks examples ${D}/usr/share/doc/${P}
+}
diff --git a/dev-libs/blitz/files/digest-blitz-0.6 b/dev-libs/blitz/files/digest-blitz-0.6
new file mode 100644
index 000000000000..6513bdd30f7a
--- /dev/null
+++ b/dev-libs/blitz/files/digest-blitz-0.6
@@ -0,0 +1 @@
+MD5 c557fb5ecf0b89a1321bb42c228afc1c blitz-0.6.tar.gz 1019425