new ebuild
authorJ Robert Ray <jrray@gentoo.org>
Sat, 26 Oct 2002 17:21:33 +0000 (17:21 +0000)
committerJ Robert Ray <jrray@gentoo.org>
Sat, 26 Oct 2002 17:21:33 +0000 (17:21 +0000)
dev-libs/blitz/ChangeLog [new file with mode: 0644]
dev-libs/blitz/blitz-0.6.ebuild [new file with mode: 0644]
dev-libs/blitz/files/digest-blitz-0.6 [new file with mode: 0644]

diff --git a/dev-libs/blitz/ChangeLog b/dev-libs/blitz/ChangeLog
new file mode 100644 (file)
index 0000000..11e7d36
--- /dev/null
@@ -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 (file)
index 0000000..6020c49
--- /dev/null
@@ -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 (file)
index 0000000..6513bdd
--- /dev/null
@@ -0,0 +1 @@
+MD5 c557fb5ecf0b89a1321bb42c228afc1c blitz-0.6.tar.gz 1019425