blob: ef3dcdf817ef345117c3a46db4c7e4e99bc0a7bf (
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
|
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/app-sci/ghemical/ghemical-0.90.ebuild,v 1.1 2002/10/29 02:20:13 hannes Exp $
DEPEND="gnome-base/gnome-libs
dev-libs/libf2c"
# app-sci/mpqc"
IUSE=""
SLOT="0"
LICENSE="GPL"
KEYWORDS="~x86"
DESCRIPTION="Ghemical supports both quantum-mechanics (semi-empirical and ab initio) models and molecular mechanics models (there is an experimental Tripos 5.2-like force field for organic molecules). Also a tool for reduced protein models is included. Geometry optimization, molecular dynamics and a large set of visualization tools are currently available."
HOMEPAGE="http://www.uku.fi/~thassine/ghemical/"
SRC_URI="http://www.uku.fi/~thassine/ghemical/download/${P}.tgz"
src_compile() {
patch -p0 < ${FILESDIR}/${P}-gentoo.patch
./configure --prefix=/usr #--enable-mpqc
emake
}
src_install() {
sed -e "s:^prefix=.*:prefix=${D}/usr:" Makefile > Makefile.foo
mv Makefile.foo Makefile
make install
}
|