From: | "Justin Lecher (jlec)" <jlec@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sci-libs/cgcode: metadata.xml ChangeLog cgcode-1.0.ebuild |
Date: | Sun, 31 Oct 2010 10:37:32 |
Message-Id: | 20101031103729.C49E920051@flycatcher.gentoo.org |
1 | jlec 10/10/31 10:37:29 |
2 | |
3 | Added: metadata.xml ChangeLog cgcode-1.0.ebuild |
4 | Log: |
5 | New addition |
6 | |
7 | (Portage version: 2.2.0_alpha2/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sci-libs/cgcode/metadata.xml |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cgcode/metadata.xml?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cgcode/metadata.xml?rev=1.1&content-type=text/plain |
14 | |
15 | Index: metadata.xml |
16 | =================================================================== |
17 | <?xml version="1.0" encoding="UTF-8"?> |
18 | <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 | <pkgmetadata> |
20 | <herd>sci</herd> |
21 | <maintainer> |
22 | <email>jlec@g.o</email> |
23 | </maintainer> |
24 | </pkgmetadata> |
25 | |
26 | |
27 | |
28 | 1.1 sci-libs/cgcode/ChangeLog |
29 | |
30 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cgcode/ChangeLog?rev=1.1&view=markup |
31 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cgcode/ChangeLog?rev=1.1&content-type=text/plain |
32 | |
33 | Index: ChangeLog |
34 | =================================================================== |
35 | # ChangeLog for sci-libs/cgcode |
36 | # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
37 | # $Header: /var/cvsroot/gentoo-x86/sci-libs/cgcode/ChangeLog,v 1.1 2010/10/31 10:37:29 jlec Exp $ |
38 | |
39 | *cgcode-1.0 (31 Oct 2010) |
40 | |
41 | 31 Oct 2010; Justin Lecher <jlec@g.o> +files/1.0-gentoo.patch, |
42 | +cgcode-1.0.ebuild, +metadata.xml: |
43 | New addition |
44 | |
45 | |
46 | |
47 | |
48 | 1.1 sci-libs/cgcode/cgcode-1.0.ebuild |
49 | |
50 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cgcode/cgcode-1.0.ebuild?rev=1.1&view=markup |
51 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/cgcode/cgcode-1.0.ebuild?rev=1.1&content-type=text/plain |
52 | |
53 | Index: cgcode-1.0.ebuild |
54 | =================================================================== |
55 | # Copyright 1999-2010 Gentoo Foundation |
56 | # Distributed under the terms of the GNU General Public License v2 |
57 | # $Header: /var/cvsroot/gentoo-x86/sci-libs/cgcode/cgcode-1.0.ebuild,v 1.1 2010/10/31 10:37:29 jlec Exp $ |
58 | |
59 | EAPI="3" |
60 | |
61 | inherit eutils fortran |
62 | |
63 | FORTRNC="ifort gfortran" |
64 | |
65 | DESCRIPTION="Conjugate gradient Codes for large sparse linear systems" |
66 | HOMEPAGE="http://fetk.org/codes/cgcode/index.html" |
67 | SRC_URI="http://www.fetk.org/codes/download/${P}.tar.gz" |
68 | |
69 | SLOT="0" |
70 | KEYWORDS="~amd64 ~x86" |
71 | LICENSE="GPL-2" |
72 | IUSE="" |
73 | |
74 | RDEPEND="virtual/blas" |
75 | DEPEND="${RDEPEND}" |
76 | |
77 | S="${WORKDIR}"/${PN} |
78 | |
79 | src_prepare() { |
80 | epatch "${FILESDIR}"/${PV}-gentoo.patch |
81 | |
82 | cat >> make.inc <<- EOF |
83 | F77 = ${FORTRANC} |
84 | FFLAGS = ${FFLAGS} |
85 | BLASLIBS = $(pkg-config --libs blas) |
86 | EOF |
87 | } |
88 | |
89 | src_install() { |
90 | dobin goos good || die |
91 | dolib.so lib${PN}.so* || die |
92 | dodoc INTRODUCTION NOTE README || die |
93 | } |