Lines 2-8
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molden/molden-4.3.ebuild,v 1.4 2005/05/14 08:55:26 kloeri Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/sci-chemistry/molden/molden-4.3.ebuild,v 1.4 2005/05/14 08:55:26 kloeri Exp $ |
4 |
|
4 |
|
5 |
inherit eutils toolchain-funcs flag-o-matic |
5 |
inherit eutils toolchain-funcs flag-o-matic fortran |
6 |
|
6 |
|
7 |
MY_P="${PN}${PV}" |
7 |
MY_P="${PN}${PV}" |
8 |
DESCRIPTION="Display molecular density from GAMESS-UK, GAMESS-US, GAUSSIAN and Mopac/Ampac." |
8 |
DESCRIPTION="Display molecular density from GAMESS-UK, GAMESS-US, GAUSSIAN and Mopac/Ampac." |
Lines 25-37
Link Here
|
25 |
# Set fortran compiler, since gcc-config doesn't |
25 |
# Set fortran compiler, since gcc-config doesn't |
26 |
[ -z ${FC} ] && FC="g77" |
26 |
[ -z ${FC} ] && FC="g77" |
27 |
|
27 |
|
28 |
# Check for fortran compiler |
|
|
29 |
if [ ! "`which ${FC} 2> /dev/null`" ]; then |
30 |
eerror "Fortran compiler not found." |
31 |
eerror "Please recompile sys-devel/gcc with fortran in USE flags." |
32 |
die |
33 |
fi |
34 |
|
35 |
unpack ${A} |
28 |
unpack ${A} |
36 |
cd ${S} |
29 |
cd ${S} |
37 |
|
30 |
|