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