| 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.2 2011/06/21 08:06:56 jlec Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/fortran-2.eclass,v 1.3 2011/06/21 14:05:30 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 |
| … | |
… | |
| 31 | # |
31 | # |
| 32 | # Valid settings are any combination of: 77 90 95 2003 |
32 | # Valid settings are any combination of: 77 90 95 2003 |
| 33 | : ${FORTRAN_STANDARD:=77} |
33 | : ${FORTRAN_STANDARD:=77} |
| 34 | |
34 | |
| 35 | inherit toolchain-funcs |
35 | inherit toolchain-funcs |
| 36 | |
|
|
| 37 | DEPEND="virtual/fortran" |
|
|
| 38 | RDEPEND="${DEPEND}" |
|
|
| 39 | |
36 | |
| 40 | # @FUNCTION: _write_testsuite |
37 | # @FUNCTION: _write_testsuite |
| 41 | # @DESCRIPTION: writes fortran test code |
38 | # @DESCRIPTION: writes fortran test code |
| 42 | # @INTERNAL |
39 | # @INTERNAL |
| 43 | _write_testsuite() { |
40 | _write_testsuite() { |