Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/blitz: ChangeLog blitz-0.9-r3.ebuild
Date: Fri, 25 Jun 2010 13:13:50
Message-Id: 20100625131345.41FFD2CF60@corvid.gentoo.org
1 jlec 10/06/25 13:13:44
2
3 Modified: ChangeLog
4 Added: blitz-0.9-r3.ebuild
5 Log:
6 Respecting LDFLAGS
7 (Portage version: 2.2_rc67/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.33 dev-libs/blitz/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/blitz/ChangeLog?rev=1.33&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/blitz/ChangeLog?rev=1.33&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/blitz/ChangeLog?r1=1.32&r2=1.33
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-libs/blitz/ChangeLog,v
19 retrieving revision 1.32
20 retrieving revision 1.33
21 diff -u -r1.32 -r1.33
22 --- ChangeLog 5 Feb 2009 22:00:56 -0000 1.32
23 +++ ChangeLog 25 Jun 2010 13:13:44 -0000 1.33
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-libs/blitz
26 -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/ChangeLog,v 1.32 2009/02/05 22:00:56 ulm Exp $
28 +# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/ChangeLog,v 1.33 2010/06/25 13:13:44 jlec Exp $
30 +
31 +*blitz-0.9-r3 (25 Jun 2010)
32 +
33 + 25 Jun 2010; Justin Lecher <jlec@g.o> +blitz-0.9-r3.ebuild:
34 + Respecting LDFLAGS
35
36 05 Feb 2009; Ulrich Mueller <ulm@g.o> blitz-0.9.ebuild:
37 Remove virtual/tetex from comment in old version, in order to avoid false
38
39
40
41 1.1 dev-libs/blitz/blitz-0.9-r3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/blitz/blitz-0.9-r3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/blitz/blitz-0.9-r3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: blitz-0.9-r3.ebuild
47 ===================================================================
48 # Copyright 1999-2010 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/dev-libs/blitz/blitz-0.9-r3.ebuild,v 1.1 2010/06/25 13:13:44 jlec Exp $
51
52 inherit eutils
53
54 DESCRIPTION="High-performance C++ numeric library"
55 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
56 HOMEPAGE="http://www.oonumerics.org/blitz"
57 IUSE="debug doc examples"
58 SLOT="0"
59 KEYWORDS="~amd64 ~ppc ~x86"
60 LICENSE="|| ( GPL-2 Blitz-Artistic )"
61
62 DEPEND="doc? ( app-doc/doxygen )"
63 RDEPEND=""
64
65 src_unpack() {
66 unpack ${A}
67 cd "${S}"
68 # remove examples compiling
69 sed -i \
70 -e 's/blitz-uninstalled.pc//' \
71 -e 's/examples//g' \
72 Makefile.in || die "sed failed"
73 epatch "${FILESDIR}"/${P}-gcc-4.3-missing-includes.patch
74 }
75
76 src_compile() {
77 # blas and fortran are only useful for benchmarks
78 econf \
79 --enable-shared \
80 --disable-cxx-flags-preset \
81 --disable-fortran \
82 --without-blas \
83 $(use_enable doc doxygen) \
84 $(use_enable doc html-docs) \
85 $(use_enable debug) \
86 || die "econf failed"
87 emake \
88 LDFLAGS="${LDFLAGS}" \
89 lib || die "emake lib failed"
90 }
91
92 src_test() {
93 # exprctor fails if BZ_DEBUG flag is not set
94 # CXXFLAGS gets overwritten
95 emake AM_CXXFLAGS="-DBZ_DEBUG" check-testsuite || die "selftest failed"
96 }
97
98 src_install () {
99 dodir /usr/share/doc/${PF}/html
100 emake \
101 DESTDIR="${D}" \
102 docdir=/usr/share/doc/${PF}/html \
103 install || die "emake install failed"
104 dodoc ChangeLog ChangeLog.1 README README.binutils TODO AUTHORS NEWS
105
106 if use examples; then
107 insinto /usr/share/doc/${PF}/examples
108 doins examples/*.cpp
109 fi
110 }