/[gentoo-x86]/sci-libs/cgcode/cgcode-1.0-r2.ebuild
Gentoo

Contents of /sci-libs/cgcode/cgcode-1.0-r2.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Thu Oct 18 21:39:51 2012 UTC (2 years ago) by jlec
Branch: MAIN
Changes since 1.1: +2 -4 lines
sci-libs/cgcode: Remove virtual/fortran and always call fortran-2_pkg_setup as intend by the updated fortran-2.eclass

(Portage version: 2.2.0_alpha141/cvs/Linux x86_64, signed Manifest commit with key 8009D6F070EB7916)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-libs/cgcode/cgcode-1.0-r2.ebuild,v 1.1 2012/05/30 08:59:54 jlec Exp $
4
5 EAPI=4
6
7 inherit eutils fortran-2 toolchain-funcs
8
9 DESCRIPTION="Conjugate gradient Codes for large sparse linear systems"
10 HOMEPAGE="http://fetk.org/codes/cgcode/index.html"
11 SRC_URI="http://www.fetk.org/codes/download/${P}.tar.gz"
12
13 SLOT="0"
14 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
15 LICENSE="GPL-2"
16 IUSE=""
17
18 RDEPEND="virtual/blas"
19 DEPEND="${RDEPEND}"
20
21 S="${WORKDIR}"/${PN}
22
23 src_prepare() {
24 epatch "${FILESDIR}"/${PV}-gentoo.patch
25
26 cat >> make.inc <<- EOF
27 F77 = $(tc-getFC)
28 FFLAGS = ${FFLAGS}
29 BLASLIBS = $(pkg-config --libs blas)
30 EOF
31 }
32
33 src_install() {
34 dobin goos good
35 dolib.so src/lib${PN}.so*
36 dodoc INTRODUCTION NOTE README
37 }

  ViewVC Help
Powered by ViewVC 1.1.20