/[gentoo-x86]/sci-libs/metis/metis-4.0.3.ebuild
Gentoo

Contents of /sci-libs/metis/metis-4.0.3.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.6 - (show annotations) (download)
Tue Oct 16 20:39:01 2012 UTC (7 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
Changes since 1.5: +2 -2 lines
sci-libs/metis: Remove virtual/fortran and always call fortran-2_pkg_setup as intend by the updated fortran-2.eclass

(Portage version: 2.2.0_alpha138/cvs/Linux x86_64, signed Manifest commit with key 70EB7916)

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/metis/metis-4.0.3.ebuild,v 1.5 2012/10/15 22:36:28 naota Exp $
4
5 EAPI=4
6
7 inherit autotools eutils fortran-2
8
9 DESCRIPTION="A package for unstructured serial graph partitioning"
10 HOMEPAGE="http://www-users.cs.umn.edu/~karypis/metis/metis/"
11 SRC_URI="http://glaros.dtc.umn.edu/gkhome/fetch/sw/${PN}/OLD/${P}.tar.gz"
12
13 SLOT="0"
14 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
15 LICENSE="free-noncomm"
16 IUSE="doc static-libs"
17
18 DEPEND=""
19 RDEPEND="${DEPEND}
20 !sci-libs/parmetis"
21
22 src_prepare() {
23 epatch "${FILESDIR}"/${PN}-4.0.1-autotools.patch
24 sed -i -e "s/4.0.1/${PV}/" configure.ac || die
25 eautoreconf
26 }
27
28 src_configure() {
29 econf $(use_enable static-libs static)
30 }
31
32 src_install() {
33 default
34 use doc && dodoc Doc/manual.ps
35 }

  ViewVC Help
Powered by ViewVC 1.1.13