From: | "Sebastien Fabbro (bicatali)" <bicatali@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-libs/taucs: metadata.xml Manifest taucs-2.2.ebuild ChangeLog |
Date: | Mon, 27 Oct 2008 14:59:21 |
Message-Id: | E1KuTYs-0005rt-69@stork.gentoo.org |
1 | bicatali 08/10/27 14:59:18 |
2 | |
3 | Added: metadata.xml Manifest taucs-2.2.ebuild ChangeLog |
4 | Log: |
5 | Initial import |
6 | (Portage version: 2.2_rc11/cvs/Linux 2.6.25-gentoo-r7 x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sci-libs/taucs/metadata.xml |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/taucs/metadata.xml?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/taucs/metadata.xml?rev=1.1&content-type=text/plain |
13 | |
14 | Index: metadata.xml |
15 | =================================================================== |
16 | <?xml version="1.0" encoding="UTF-8"?> |
17 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
18 | <pkgmetadata> |
19 | <herd>sci</herd> |
20 | <longdescription lang="en"> |
21 | TAUCS is a C library of sparse linear solvers. |
22 | The current version of the library (1.0) includes the following |
23 | functionality: |
24 | |
25 | * Multifrontal Supernodal Cholesky Factorization. |
26 | * Left-Looking Supernodal Cholesky Factorization. |
27 | * Drop-Tolerance Incomplete-Cholesky Factorization. |
28 | * Out-of-Core, Left-Looking Supernodal Sparse Cholesky Factorization. |
29 | * Out-of-Core Sparse LU with Partial Pivoting Factor and Solve. |
30 | * Ordering Codes and Interfaces to Existing Ordering Codes. |
31 | * Multilevel-Support-Graph Preconditioners. |
32 | * Matrix Operations. |
33 | * Matrix Input/Output. |
34 | * Matrix Generators. |
35 | * Iterative Solvers. |
36 | * Vaidya's Preconditioners. |
37 | * Recursive Vaidya's Preconditioners. |
38 | * Multilevel-Support-Graph Preconditioners. |
39 | * Utility Routines |
40 | </longdescription> |
41 | <use> |
42 | <flag name='metis'>Add partioning support using metis |
43 | (<pkg>sci-libs/metis</pkg>, <pkg>sci-libs/parmetis</pkg>)</flag> |
44 | <flag name='cilk'>Enable multithreading using <pkg>dev-lang/cilk</pkg>)</flag> |
45 | </use> |
46 | </pkgmetadata> |
47 | |
48 | |
49 | |
50 | 1.1 sci-libs/taucs/Manifest |
51 | |
52 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/taucs/Manifest?rev=1.1&view=markup |
53 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/taucs/Manifest?rev=1.1&content-type=text/plain |
54 | |
55 | Index: Manifest |
56 | =================================================================== |
57 | DIST taucs-2.2.tgz 1573863 RMD160 e7621bc65af42432e708318e93bce8958bf3a482 SHA1 9f86bd091d42cad308b5137914fb7aa564bd0aae SHA256 fc13dae767db5e9035b1ce63036a16d3a260aad784f461e073f1150a078a77e4 |
58 | EBUILD taucs-2.2.ebuild 2267 RMD160 fb895aa52a5c08192e07c015b22030d02b6f17cd SHA1 096273ad21ca31e22df33563be8240ff06c3886d SHA256 6e2d25c6a4ac859748ca53b41d21da242b0c69e099f9aa7f71a09e80389042f1 |
59 | MISC ChangeLog 250 RMD160 b42b5d166e2d557ebc326f7c13011c5518a0a38f SHA1 2d8c21da96153afc39c1cf7c8af989a46813fb56 SHA256 3208ca273d636594db68a2b20911a9eacf1b2c571500a68f063aa3374d0437da |
60 | MISC metadata.xml 1192 RMD160 a09b4862a992a6afbb8849b486abab65f8a7f601 SHA1 ce6d41e929a336bab3913879a2f72c42b8c2a481 SHA256 ef6ccec56e93e5ab3450fe7202219b2ee382e9169569715f35dc46d0888bf006 |
61 | |
62 | |
63 | |
64 | 1.1 sci-libs/taucs/taucs-2.2.ebuild |
65 | |
66 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/taucs/taucs-2.2.ebuild?rev=1.1&view=markup |
67 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/taucs/taucs-2.2.ebuild?rev=1.1&content-type=text/plain |
68 | |
69 | Index: taucs-2.2.ebuild |
70 | =================================================================== |
71 | # Copyright 1999-2008 Gentoo Foundation |
72 | # Distributed under the terms of the GNU General Public License v2 |
73 | # $Header: /var/cvsroot/gentoo-x86/sci-libs/taucs/taucs-2.2.ebuild,v 1.1 2008/10/27 14:59:18 bicatali Exp $ |
74 | |
75 | EAPI=2 |
76 | inherit eutils fortran toolchain-funcs flag-o-matic |
77 | |
78 | DESCRIPTION="C library of sparse linear solvers" |
79 | HOMEPAGE="http://www.tau.ac.il/~stoledo/taucs/" |
80 | SRC_URI="http://www.tau.ac.il/~stoledo/${PN}/${PV}/${PN}.tgz -> ${P}.tgz" |
81 | |
82 | KEYWORDS="~amd64 ~x86" |
83 | LICENSE="LGPL-2.1" |
84 | |
85 | IUSE="cilk doc +metis" |
86 | SLOT="0" |
87 | |
88 | RDEPEND="virtual/blas |
89 | virtual/lapack |
90 | metis? ( || ( sci-libs/metis sci-libs/parmetis ) ) |
91 | cilk? ( dev-lang/cilk )" |
92 | DEPEND="${RDEPEND} |
93 | dev-util/pkgconfig" |
94 | |
95 | S="${WORKDIR}" |
96 | FORTRAN="gfortran ifc g77" |
97 | |
98 | src_configure() { |
99 | cat > config/linux_shared.mk <<-EOF |
100 | CFLAGS=${CFLAGS} -fPIC |
101 | FC=${FORTRANC} |
102 | FFLAGS=${FFLAGS} -fPIC |
103 | LDFLAGS=${LDFLAGS} -fPIC |
104 | LIBBLAS=$(pkg-config --libs blas) |
105 | LIBLAPACK=$(pkg-config --libs lapack) |
106 | LIBF77= |
107 | EOF |
108 | use metis && echo "LIBMETIS=$(pkg-config --libs metis)" \ |
109 | >> config/linux_shared.mk |
110 | # no cat <<EOF because -o has a trailing space |
111 | if use cilk; then |
112 | echo "CILKC=cilkc" >> config/linux_shared.mk |
113 | echo "CILKFLAGS=-O2 -I/usr/include/cilk -fPIC" >> config/linux_shared.mk |
114 | echo "CILKOUTFLG=-o " >> config/linux_shared.mk |
115 | fi |
116 | sed -e 's/ -fPIC//g' \ |
117 | config/linux_shared.mk \ |
118 | > config/linux_static.mk || die |
119 | } |
120 | |
121 | src_compile() { |
122 | # not autotools configure |
123 | ./configure variant=_static || die |
124 | emake || die |
125 | ./configure variant=_shared || die |
126 | emake || die |
127 | |
128 | cd lib/linux_shared |
129 | $(tc-getAR) x libtaucs.a |
130 | $(tc-getLD) $(raw-ldflags) *.o \ |
131 | -shared \ |
132 | -soname libtaucs.so.1 \ |
133 | -o libtaucs.so.1.0.0 \ |
134 | $(pkg-config --libs blas lapack metis) \ |
135 | || die "shared lib linking failed" |
136 | } |
137 | |
138 | src_test() { |
139 | ./testscript variant=_static || die "compile test failed" |
140 | if grep -q FAILED testscript.log; then |
141 | eerror "Test failed. See ${S}/testscript.log" |
142 | die "test failed" |
143 | fi |
144 | } |
145 | |
146 | src_install() { |
147 | dolib.a lib/linux_static/libtaucs.a || die "static lib install failed" |
148 | dolib.so lib/linux_shared/libtaucs.so.1.0.0 || die "shared lib install failed" |
149 | dosym libtaucs.so.1.0.0 /usr/$(get_libdir)/libtaucs.so.1 |
150 | dosym libtaucs.so.1 /usr/$(get_libdir)/libtaucs.so |
151 | |
152 | insinto /usr/include |
153 | doins build/*/*.h src/*.h || die "headers install failed" |
154 | |
155 | insinto /usr/share/doc/${PF} |
156 | use doc && doins doc/*.pdf |
157 | } |
158 | |
159 | |
160 | |
161 | 1.1 sci-libs/taucs/ChangeLog |
162 | |
163 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/taucs/ChangeLog?rev=1.1&view=markup |
164 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-libs/taucs/ChangeLog?rev=1.1&content-type=text/plain |
165 | |
166 | Index: ChangeLog |
167 | =================================================================== |
168 | # ChangeLog for sci-libs/taucs |
169 | # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
170 | # $Header: /var/cvsroot/gentoo-x86/sci-libs/taucs/ChangeLog,v 1.1 2008/10/27 14:59:18 bicatali Exp $ |
171 | |
172 | *taucs-2.2 (27 Oct 2008) |
173 | |
174 | 27 Oct 2008; Sébastien Fabbro <bicatali@g.o> +metadata.xml, |
175 | +taucs-2.2.ebuild: |
176 | Initial import |