Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/scotch: ChangeLog scotch-5.1.6.ebuild metadata.xml
Date: Thu, 03 Sep 2009 11:50:46
Message-Id: E1MjFe6-0000aC-Bd@stork.gentoo.org
1 patrick 09/09/03 16:58:50
2
3 Added: ChangeLog scotch-5.1.6.ebuild metadata.xml
4 Log:
5 Initial import of scotch, dependency of OpenFoam. Ebuild by Richard Westwell and Oliver Borm. Fixes #220823
6 (Portage version: 2.2_rc40/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.1 sci-libs/scotch/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/scotch/ChangeLog?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/scotch/ChangeLog?rev=1.1&content-type=text/plain
13
14 Index: ChangeLog
15 ===================================================================
16 # ChangeLog for sci-libs/scotch
17 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
18 # $Header: /var/cvsroot/gentoo-x86/sci-libs/scotch/ChangeLog,v 1.1 2009/09/03 16:58:50 patrick Exp $
19
20 *scotch-5.1.6 (03 Sep 2009)
21
22 03 Sep 2009; Patrick Lauer <patrick@g.o> +scotch-5.1.6.ebuild,
23 +files/Makefile.inc, +files/metis-header.patch, +files/mmkt-typo.patch,
24 +files/shared-libs.patch, +metadata.xml:
25 Initial import of scotch, dependency of OpenFoam. Ebuild by Richard
26 Westwell and Oliver Borm. Fixes #220823
27
28
29
30
31 1.1 sci-libs/scotch/scotch-5.1.6.ebuild
32
33 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/scotch/scotch-5.1.6.ebuild?rev=1.1&view=markup
34 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/scotch/scotch-5.1.6.ebuild?rev=1.1&content-type=text/plain
35
36 Index: scotch-5.1.6.ebuild
37 ===================================================================
38 # Copyright 1999-2009 Gentoo Foundation
39 # Distributed under the terms of the GNU General Public License v2
40 # $Header: /var/cvsroot/gentoo-x86/sci-libs/scotch/scotch-5.1.6.ebuild,v 1.1 2009/09/03 16:58:50 patrick Exp $
41
42 EAPI="2"
43
44 inherit eutils
45
46 DESCRIPTION="Software package and libraries for graph partitioning, static mapping, and sparse matrix block ordering"
47 HOMEPAGE="http://www.labri.u-bordeaux.fr/perso/pelegrin/scotch/"
48 SRC_URI="http://gforge.inria.fr/frs/download.php/5218/${PN}_${PV}.tgz"
49
50 LICENSE="CeCILL-2"
51 SLOT="0"
52 KEYWORDS="~amd64 ~x86"
53 IUSE="mpi"
54
55 DEPEND="sys-devel/bison
56 mpi? ( virtual/mpi )"
57 RDEPEND="${DEPEND}"
58
59 S=${WORKDIR}"/scotch_5.0/src"
60
61 src_prepare() {
62 epatch "${FILESDIR}"/mmkt-typo.patch
63 epatch "${FILESDIR}"/shared-libs.patch
64 epatch "${FILESDIR}"/metis-header.patch
65 }
66
67 src_configure() {
68 cp "${FILESDIR}"/Makefile.inc ./
69 }
70
71 src_compile() {
72 emake -j1 || die "make failed"
73 use mpi && (emake -j1 ptscotch || die "make failed")
74 }
75
76 src_install() {
77 dodir "/usr"
78 emake prefix="${D}/usr" install
79
80 use mpi && dobin "${S}"/../bin/{dgord,dgscat,dgtst}
81
82 dolib.so "${S}"/{libscotch,libscotchmetis}/*.so
83 if [ "$(get_libdir)" != "lib" ]; then
84 mv "${D}"/usr/lib/* "${D}"/usr/$(get_libdir)
85 rm -rf "${D}"/usr/lib
86 fi
87
88 insinto /usr/include/scotch
89 doins "${S}"/libscotch/*.h
90
91 insinto /usr/include/scotchmetis
92 doins "${S}"/libscotchmetis/*.h
93
94 mv "${D}"/usr/include/*scotch*.h "${D}"/usr/include/scotch/
95
96 insinto "/usr/share/${PN}/tgt"
97 doins "${S}"/../tgt/*
98 insinto "/usr/share/${PN}/grf"
99 doins "${S}"/../grf/*
100
101 cd "${S}/../doc"
102 dodoc *
103 }
104
105
106
107 1.1 sci-libs/scotch/metadata.xml
108
109 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/scotch/metadata.xml?rev=1.1&view=markup
110 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/scotch/metadata.xml?rev=1.1&content-type=text/plain
111
112 Index: metadata.xml
113 ===================================================================
114 <?xml version="1.0" encoding="UTF-8"?>
115 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
116 <pkgmetadata>
117 <herd>no-herd</herd>
118 <maintainer>
119 <email>patrick@g.o</email>
120 <name>Patrick Lauer</name>
121 </maintainer>
122 <maintainer>
123 <email>oli.borm@×××.de</email>
124 <name>Oliver Borm</name>
125 </maintainer>
126 </pkgmetadata>