/[gentoo-x86]/sci-biology/mammoth/mammoth-1.0-r1.ebuild
Gentoo

Contents of /sci-biology/mammoth/mammoth-1.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Mar 5 11:07:15 2015 UTC (4 years, 10 months ago) by jlec
Branch: MAIN
CVS Tags: HEAD
EAPI Bump

(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key B9D4F231BD1558AB!)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/sci-biology/mammoth/mammoth-1.0.ebuild,v 1.6 2012/10/19 10:46:56 jlec Exp $
4
5 EAPI=5
6
7 inherit autotools eutils fortran-2 flag-o-matic toolchain-funcs
8
9 MY_P="${P}-src"
10
11 DESCRIPTION="MAtching Molecular Models Obtained from THeory"
12 HOMEPAGE="http://ub.cbm.uam.es/software.php"
13 SRC_URI="${MY_P}.tgz"
14
15 LICENSE="mammoth"
16 SLOT="0"
17 KEYWORDS="~amd64 ~x86"
18 IUSE=""
19
20 RESTRICT="fetch"
21
22 S=${WORKDIR}/${MY_P}
23
24 pkg_nofetch() {
25 einfo "Download the source code for MAMMOTH from"
26 einfo "${HOMEPAGE}"
27 einfo "and place it in ${DISTDIR}"
28 }
29
30 src_prepare() {
31 # Broken with gfortran without this patch
32 epatch "${FILESDIR}"/${PV}-consistent-system-intrinsic.patch
33
34 case $(tc-getFC) in
35 g77) append-fflags -ffixed-line-length-none ;;
36 gfortran) append-fflags -ffixed-line-length-none ;;
37 esac
38
39 # It comes with a custom-modified configure for some reason,
40 # which forces you to pass in the Fortran compiler as a parameter.
41 # Let's do the standard stuff instead.
42 eautoreconf
43 }

  ViewVC Help
Powered by ViewVC 1.1.20