summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-06-25 13:13:44 +0000
committerJustin Lecher <jlec@gentoo.org>2010-06-25 13:13:44 +0000
commitbbe4132ef0edc1142a3dc0a5a5eadb114df76704 (patch)
tree9bb3c0498129a08adce7bc6eb9feb96aa2dbb070 /dev-libs/blitz
parentRaise jaffl minimum to 0.5.1. See bug #322739. (diff)
downloadhistorical-bbe4132ef0edc1142a3dc0a5a5eadb114df76704.tar.gz
historical-bbe4132ef0edc1142a3dc0a5a5eadb114df76704.tar.bz2
historical-bbe4132ef0edc1142a3dc0a5a5eadb114df76704.zip
Respecting LDFLAGS
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/blitz')
-rw-r--r--dev-libs/blitz/ChangeLog9
-rw-r--r--dev-libs/blitz/Manifest11
-rw-r--r--dev-libs/blitz/blitz-0.9-r3.ebuild63
3 files changed, 76 insertions, 7 deletions
diff --git a/dev-libs/blitz/ChangeLog b/dev-libs/blitz/ChangeLog
index 6502a01ecf8b..59fa5a0f0450 100644
--- a/dev-libs/blitz/ChangeLog
+++ b/dev-libs/blitz/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/blitz
-# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/ChangeLog,v 1.32 2009/02/05 22:00:56 ulm Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/ChangeLog,v 1.33 2010/06/25 13:13:44 jlec Exp $
+
+*blitz-0.9-r3 (25 Jun 2010)
+
+ 25 Jun 2010; Justin Lecher <jlec@gentoo.org> +blitz-0.9-r3.ebuild:
+ Respecting LDFLAGS
05 Feb 2009; Ulrich Mueller <ulm@gentoo.org> blitz-0.9.ebuild:
Remove virtual/tetex from comment in old version, in order to avoid false
diff --git a/dev-libs/blitz/Manifest b/dev-libs/blitz/Manifest
index 4722c0b1c34c..e4580999f8e2 100644
--- a/dev-libs/blitz/Manifest
+++ b/dev-libs/blitz/Manifest
@@ -5,13 +5,14 @@ AUX blitz-0.9-gcc-4.3-missing-includes.patch 404 RMD160 13cf1763393344485de9d2a2
DIST blitz-0.9.tar.gz 3124301 RMD160 1e1b39a5975f9e5b423365c2d1b047fe0285ed2f SHA1 055a4bcb47903e5c2446884d2df1494ac3e24034 SHA256 88b7c5e062b06767d04511776cf706316026b9357b128e126be88935626d2bcb
EBUILD blitz-0.9-r1.ebuild 1455 RMD160 4fc523d8c1453bba29b79a2411b4a946bb1f85f4 SHA1 c506b805efb545dae72b58bc208a59f119eb525c SHA256 a356e0f5c6561eb244deb8ce76f4489d07bb421ac15c7c4b6497a42142aa9366
EBUILD blitz-0.9-r2.ebuild 1556 RMD160 2428c0ad3d64be7958a20a66582236a6f43603ae SHA1 079f8dd896776a9b1cdf2af8cfffc10e82e96d4e SHA256 07437ce8195577c8de0208bb525899de3fe0f0b43c7bcdb971e299e6d60225f4
+EBUILD blitz-0.9-r3.ebuild 1582 RMD160 48e5a4c512ec7b699bed90d239a3f8e6c64a4d9b SHA1 6dbfa01ed7e16732200be75390f780ece15fabce SHA256 a91e3aadd5191ae9302b1d83fe52b1548e1d89b51c1041a9c976d6bfc6385d51
EBUILD blitz-0.9.ebuild 1251 RMD160 ee2b2f88aeedeb68b8fc77aa2b483456f1fdb6f7 SHA1 e5cde5d54cbd7e87cc7be481305b89a5a1cc980b SHA256 dbc7b075460e6338ed4604fbc18d64571699a389119f9f1f0213025be11859ae
-MISC ChangeLog 4501 RMD160 1d4b2be20d719d619531f9e9db75ebc85848d0de SHA1 3059bc1c4a2d5a8424d62ce9aaea869bb4dcac7d SHA256 4e78569c02728c2ce2c29d83088790ab412dd906daf757e4c28b3dfef77b28b8
+MISC ChangeLog 4622 RMD160 6c713a90eb104e6aef92382406ed37f1685ffb5d SHA1 773de067f33ded4b4bbd64e6848f2867a84dfd64 SHA256 242573451bef35ee6b403783df536fcb6d70a44003eb206f7d236d13695b9a47
MISC metadata.xml 304 RMD160 4534779aede454ff4fd69acfd9ec78063a09b75a SHA1 d4976e87786afbac02939a1654ffc94124b92931 SHA256 3bb1511a946ae2fec05abd0c8b47847d0ada2ded4c5db17039116f714f12af25
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.9 (GNU/Linux)
+Version: GnuPG v2.0.15 (GNU/Linux)
-iEYEARECAAYFAkmLYdoACgkQOeoy/oIi7uzEvgCdGU7HtrOo0A161wNLsKaCZV4z
-NW0AoNUXJk5m5PhGcuLfCc8qAz3Qa/9+
-=+1iR
+iEYEARECAAYFAkwkq48ACgkQgAnW8HDreRbaJACgtDFe/1vgCzgic0XXiFr9qAIE
+DJkAoLSfb7hiXrVpQi+NwiWs3+nWfsJI
+=asbc
-----END PGP SIGNATURE-----
diff --git a/dev-libs/blitz/blitz-0.9-r3.ebuild b/dev-libs/blitz/blitz-0.9-r3.ebuild
new file mode 100644
index 000000000000..4d724ebe3443
--- /dev/null
+++ b/dev-libs/blitz/blitz-0.9-r3.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/blitz-0.9-r3.ebuild,v 1.1 2010/06/25 13:13:44 jlec Exp $
+
+inherit eutils
+
+DESCRIPTION="High-performance C++ numeric library"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+HOMEPAGE="http://www.oonumerics.org/blitz"
+IUSE="debug doc examples"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+LICENSE="|| ( GPL-2 Blitz-Artistic )"
+
+DEPEND="doc? ( app-doc/doxygen )"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # remove examples compiling
+ sed -i \
+ -e 's/blitz-uninstalled.pc//' \
+ -e 's/examples//g' \
+ Makefile.in || die "sed failed"
+ epatch "${FILESDIR}"/${P}-gcc-4.3-missing-includes.patch
+}
+
+src_compile() {
+ # blas and fortran are only useful for benchmarks
+ econf \
+ --enable-shared \
+ --disable-cxx-flags-preset \
+ --disable-fortran \
+ --without-blas \
+ $(use_enable doc doxygen) \
+ $(use_enable doc html-docs) \
+ $(use_enable debug) \
+ || die "econf failed"
+ emake \
+ LDFLAGS="${LDFLAGS}" \
+ lib || die "emake lib failed"
+}
+
+src_test() {
+ # exprctor fails if BZ_DEBUG flag is not set
+ # CXXFLAGS gets overwritten
+ emake AM_CXXFLAGS="-DBZ_DEBUG" 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
+}