| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 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.14 2012/10/18 21:08:57 jlec Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/fortran-2.eclass,v 1.15 2012/11/28 12:11:51 jlec Exp $ |
| 4 | |
4 | |
| 5 | # @ECLASS: fortran-2.eclass |
5 | # @ECLASS: fortran-2.eclass |
| 6 | # @MAINTAINER: |
6 | # @MAINTAINER: |
| 7 | # jlec@gentoo.org |
7 | # jlec@gentoo.org |
| 8 | # sci@gentoo.org |
8 | # sci@gentoo.org |
| … | |
… | |
| 18 | # The eclass tests for working fortran compilers |
18 | # The eclass tests for working fortran compilers |
| 19 | # and exports the variables FC and F77. |
19 | # and exports the variables FC and F77. |
| 20 | # Optionally, it checks for extended capabilities based on |
20 | # Optionally, it checks for extended capabilities based on |
| 21 | # the variable options selected in the ebuild |
21 | # the variable options selected in the ebuild |
| 22 | # The only phase function exported is fortran-2_pkg_setup. |
22 | # The only phase function exported is fortran-2_pkg_setup. |
| 23 | # |
23 | # @EXAMPLE: |
| 24 | # Example: |
|
|
| 25 | # |
|
|
| 26 | # FORTRAN_NEEDED="lapack fortran" |
24 | # FORTRAN_NEEDED="lapack fortran" |
| 27 | # |
25 | # |
| 28 | # inherit fortran-2 |
26 | # inherit fortran-2 |
| 29 | # |
27 | # |
| 30 | # FORTRAN_NEED_OPENMP=1 |
28 | # FORTRAN_NEED_OPENMP=1 |