| 1 | # Copyright 1999-2011 Gentoo Foundation |
1 | # Copyright 1999-2011 Gentoo Foundation |
| 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/eclass/fortran-2.eclass,v 1.3 2011/06/21 14:05:30 jlec Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/fortran-2.eclass,v 1.4 2011/06/21 14:11:31 jlec Exp $ |
| 4 | |
4 | |
| 5 | # Author Justin Lecher <jlec@gentoo.org> |
5 | # Author Justin Lecher <jlec@gentoo.org> |
| 6 | # Test functions provided by Sebastien Fabbro and Kacper Kowalik |
6 | # Test functions provided by Sebastien Fabbro and Kacper Kowalik |
| 7 | |
7 | |
| 8 | # @ECLASS: fortran-2.eclass |
8 | # @ECLASS: fortran-2.eclass |
| 9 | # @MAINTAINER: |
9 | # @MAINTAINER: |
| 10 | # jlec@gentoo.org |
10 | # jlec@gentoo.org |
| 11 | # sci@gentoo.org |
11 | # sci@gentoo.org |
| 12 | # @BLURB: Simplify fortran compiler management |
12 | # @BLURB: Simplify fortran compiler management |
| 13 | # @DESCRIPTION: |
13 | # @DESCRIPTION: |
| 14 | # If you need a fortran compiler, then you should be inheriting this eclass. |
14 | # If you need a fortran compiler, then you should be inheriting this eclass and |
|
|
15 | # adding virtual/fortran to your dependencies. |
| 15 | # The eclass tests for working fortran compilers |
16 | # The eclass tests for working fortran compilers |
| 16 | # and exports the variables FC and F77. |
17 | # and exports the variables FC and F77. |
| 17 | # Optionally, it checks for extended capabilities based on |
18 | # Optionally, it checks for extended capabilities based on |
| 18 | # the variable options selected in the ebuild |
19 | # the variable options selected in the ebuild |
| 19 | # The only phase function exported is fortran-2_pkg_setup. |
20 | # The only phase function exported is fortran-2_pkg_setup. |