Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/punc: ChangeLog punc-1.4.ebuild
Date: Sun, 31 Oct 2010 13:30:14
Message-Id: 20101031133008.EE4DA20051@flycatcher.gentoo.org
1 jlec 10/10/31 13:30:08
2
3 Modified: ChangeLog
4 Added: punc-1.4.ebuild
5 Log:
6 Version Bump
7
8 (Portage version: 2.2.0_alpha2/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.4 sci-libs/punc/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/punc/ChangeLog?rev=1.4&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/punc/ChangeLog?rev=1.4&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/punc/ChangeLog?r1=1.3&r2=1.4
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/sci-libs/punc/ChangeLog,v
20 retrieving revision 1.3
21 retrieving revision 1.4
22 diff -u -r1.3 -r1.4
23 --- ChangeLog 28 Jul 2010 15:16:45 -0000 1.3
24 +++ ChangeLog 31 Oct 2010 13:30:08 -0000 1.4
25 @@ -1,6 +1,12 @@
26 # ChangeLog for sci-libs/punc
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/sci-libs/punc/ChangeLog,v 1.3 2010/07/28 15:16:45 flameeyes Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/sci-libs/punc/ChangeLog,v 1.4 2010/10/31 13:30:08 jlec Exp $
30 +
31 +*punc-1.4 (31 Oct 2010)
32 +
33 + 31 Oct 2010; Justin Lecher <jlec@g.o> +files/1.4-linking.patch,
34 + +punc-1.4.ebuild:
35 + Version Bump
36
37 28 Jul 2010; Diego E. Pettenò <flameeyes@g.o> punc-0.2_p1.ebuild,
38 +files/punc-0.2_p1-libdir.patch:
39
40
41
42 1.1 sci-libs/punc/punc-1.4.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/punc/punc-1.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/punc/punc-1.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: punc-1.4.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/sci-libs/punc/punc-1.4.ebuild,v 1.1 2010/10/31 13:30:08 jlec Exp $
52
53 EAPI="3"
54
55 inherit autotools multilib
56
57 DESCRIPTION="Portable Understructure for Numerical Computing"
58 HOMEPAGE="http://fetk.org/codes/punc/index.html"
59 SRC_URI="http://www.fetk.org/codes/download/${P}.tar.gz"
60
61 LICENSE="GPL-2"
62 SLOT="0"
63 KEYWORDS="~amd64 ~x86"
64 IUSE="debug mpi static-libs"
65
66 DEPEND="
67 dev-libs/maloc[mpi=]
68 dev-libs/libf2c
69 sci-libs/amd
70 sci-libs/cgcode
71 sci-libs/arpack[mpi=]
72 sci-libs/superlu
73 sci-libs/umfpack
74 virtual/blas
75 mpi? ( virtual/mpi )"
76 RDEPEND="${DEPEND}"
77
78 S="${WORKDIR}/${PN}"
79
80 src_prepare() {
81 rm -rf src/{amd,blas,lapack,arpack,superlu,umfpack}
82 epatch \
83 "${FILESDIR}"/${PV}-linking.patch
84
85 cp tools/tests/pmg/*.f src/pmg/ -f
86 cp tools/tests/pmg/*.c src/pmg/ -f
87 cp src/pmg/vpmg.h src/vf2c/punc/vpmg.h
88
89 eautoreconf
90 }
91
92 src_configure() {
93 export FETK_INCLUDE="${EPREFIX}/usr/include"
94 export FETK_LIBRARY="${EPREFIX}/usr/$(get_libdir)"
95 export FETK_LAPACK_LIBRARY="$(pkg-config --libs lapack)"
96 export FETK_BLAS_LIBRARY="${FETK_LIBRARY}"
97 export FETK_SUPERLU_LIBRARY="-lsuperlu"
98 export FETK_ARPACK_LIBRARY="${EPREFIX}/usr/$(get_libdir)"
99 export FETK_UMFPACK_LIBRARY="${EPREFIX}/usr/$(get_libdir)"
100 export FETK_CGCODE_LIBRARY="${EPREFIX}/usr/$(get_libdir)"
101 export FETK_AMD_LIBRARY="${EPREFIX}/usr/$(get_libdir)"
102
103 econf \
104 $(use_enable static-libs static) \
105 $(use_enable debug vdebug) \
106 --enable-shared \
107 --disable-triplet
108 }
109
110 src_install() {
111 make DESTDIR="${D}" install || die "make install failed"
112
113 dohtml doc/index.html || die "failed to install html docs"
114 }