diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-08-25 10:45:55 +0100 |
commit | 3cf7c3ef441822c889356fd1812ebf2944a59851 (patch) | |
tree | c513fe68548b40365c1c2ebfe35c58ad431cdd77 /dev-perl/ExtUtils-F77/ExtUtils-F77-1.240.0.ebuild | |
parent | 05b8b0e0af1d72e51a3ee61522941bf7605cd01c (diff) |
gentoo resync : 25.08.2020
Diffstat (limited to 'dev-perl/ExtUtils-F77/ExtUtils-F77-1.240.0.ebuild')
-rw-r--r-- | dev-perl/ExtUtils-F77/ExtUtils-F77-1.240.0.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/dev-perl/ExtUtils-F77/ExtUtils-F77-1.240.0.ebuild b/dev-perl/ExtUtils-F77/ExtUtils-F77-1.240.0.ebuild new file mode 100644 index 000000000000..bdf30379cfdf --- /dev/null +++ b/dev-perl/ExtUtils-F77/ExtUtils-F77-1.240.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DIST_AUTHOR=KGB +DIST_VERSION=1.24 +inherit perl-module toolchain-funcs + +DESCRIPTION="Facilitate use of FORTRAN from Perl/XS code" + +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND=" + dev-perl/File-Which + virtual/perl-Scalar-List-Utils + virtual/perl-Text-ParseWords + virtual/fortran +" +BDEPEND="${RDEPEND} + virtual/perl-ExtUtils-MakeMaker +" +src_test() { + # https://github.com/PDLPorters/extutils-f77/issues/10 + tc-export F77 + mkdir -p "${T}/bin" || die "Can't make ${T}/bin" + ln -vs "$(type -p "${F77}")" "${T}/bin/gfortran" || die "Can't make gfortran symlink" + PATH="${T}/bin:$PATH" perl-module_src_test +} |