summaryrefslogtreecommitdiff
blob: 4b0b6a3b225a188d6086e5fe03a32a8c6b5f0207 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-sci/gromacs/gromacs-3.1.4.ebuild,v 1.1 2002/11/09 10:27:08 george Exp $

IUSE=""

DESCRIPTION="The ultimate Molecular Dynamics simulation package"
SRC_URI="ftp://ftp.gromacs.org/pub/gromacs/${P}.tar.gz"
HOMEPAGE="http://www.gromacs.org/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"

DEPEND=">=dev-libs/fftw-2.1.3
		>=sys-devel/binutils-2.10.91.0.2"


src_compile() {
	econf \
		--enable-fortran \
		--datadir=/usr/share/${P} || die "./configure failed"
	emake || die
}

src_install () {
	make DESTDIR=${D} install || die

	# Install documentation.
	dodoc AUTHORS COPYING INSTALL README

	#move html docs under /usr/share/doc
	#and leave examples and templates under /usr/gromacs...
	mv ${D}/usr/share/${P}/html ${D}/usr/share/doc/${PF}
}