3 |
3 |
|
4 |
4 |
EAPI=8
|
5 |
5 |
|
6 |
|
DIST_AUTHOR=CHM
|
7 |
|
DIST_VERSION=2.017
|
|
6 |
DIST_AUTHOR=ETJ
|
|
7 |
DIST_VERSION=2.054
|
|
8 |
DIST_EXAMPLES=( "Example/*" )
|
8 |
9 |
|
9 |
10 |
FORTRAN_NEEDED=fortran
|
10 |
11 |
|
... | ... | |
14 |
15 |
|
15 |
16 |
LICENSE="|| ( Artistic GPL-1+ ) public-domain PerlDL"
|
16 |
17 |
SLOT="0"
|
17 |
|
KEYWORDS="amd64 arm ppc x86"
|
|
18 |
KEYWORDS="~amd64 ~ppc ~x86"
|
18 |
19 |
|
19 |
20 |
IUSE="+badval doc fortran gd gsl hdf netpbm pdl2 pgplot threads test"
|
20 |
21 |
|
21 |
|
RDEPEND="sys-libs/ncurses:0=
|
|
22 |
RDEPEND="
|
|
23 |
sys-libs/ncurses:0=
|
22 |
24 |
app-arch/sharutils
|
23 |
25 |
dev-perl/Astro-FITS-Header
|
24 |
|
dev-perl/File-Map
|
25 |
|
>=dev-perl/Inline-0.680.0
|
|
26 |
dev-perl/Convert-UU
|
|
27 |
>=virtual/perl-Data-Dumper-2.121.0
|
|
28 |
>=dev-perl/File-Map-0.570.0
|
|
29 |
>=virtual/perl-Filter-Simple-0.880.0
|
|
30 |
dev-perl/Filter
|
|
31 |
>=dev-perl/Inline-0.830.0
|
26 |
32 |
>=dev-perl/Inline-C-0.620.0
|
|
33 |
>=virtual/perl-Scalar-List-Utils-1.330.0
|
27 |
34 |
dev-perl/Module-Compile
|
28 |
|
>=dev-perl/OpenGL-0.670.200
|
29 |
|
dev-perl/TermReadKey
|
|
35 |
>=dev-perl/OpenGL-0.700.0
|
|
36 |
>=dev-perl/TermReadKey-2.340.0
|
30 |
37 |
|| ( dev-perl/Term-ReadLine-Perl dev-perl/Term-ReadLine-Gnu )
|
31 |
38 |
>=virtual/perl-Data-Dumper-2.121.0
|
32 |
39 |
dev-perl/Pod-Parser
|
33 |
40 |
virtual/perl-File-Spec
|
34 |
41 |
virtual/perl-File-Temp
|
35 |
42 |
virtual/perl-Filter-Simple
|
36 |
|
dev-perl/Filter
|
37 |
43 |
virtual/perl-Storable
|
38 |
44 |
>=virtual/perl-Text-Balanced-1.890.0
|
39 |
|
|
|
45 |
fortran? ( >=dev-perl/ExtUtils-F77-1.260.0 )
|
40 |
46 |
gd? ( media-libs/gd )
|
41 |
47 |
gsl? ( sci-libs/gsl )
|
42 |
|
hdf? ( sci-libs/hdf )
|
|
48 |
hdf? (
|
|
49 |
sci-libs/hdf
|
|
50 |
dev-perl/Alien-HDF4
|
|
51 |
)
|
43 |
52 |
netpbm? (
|
44 |
53 |
media-libs/netpbm
|
45 |
54 |
media-video/ffmpeg
|
... | ... | |
55 |
64 |
"
|
56 |
65 |
|
57 |
66 |
BDEPEND="${RDEPEND}
|
58 |
|
>=virtual/perl-ExtUtils-MakeMaker-6.560.0
|
59 |
|
dev-perl/Devel-CheckLib
|
60 |
|
fortran? ( >=dev-perl/ExtUtils-F77-1.13 )
|
|
67 |
>=virtual/perl-Carp-1.200.0
|
|
68 |
>=dev-perl/Devel-CheckLib-1.10.0
|
|
69 |
>=dev-perl/ExtUtils-Depends-0.402.0
|
|
70 |
>=virtual/perl-ExtUtils-MakeMaker-7.120.0
|
|
71 |
>=virtual/perl-ExtUtils-ParseXS-3.10.0
|
|
72 |
virtual/perl-File-Path
|
|
73 |
fortran? ( >=dev-perl/ExtUtils-F77-1.130.0 )
|
61 |
74 |
test? (
|
62 |
75 |
dev-perl/Test-Exception
|
63 |
76 |
dev-perl/Test-Warn
|
... | ... | |
68 |
81 |
mydoc="BUGS DEPENDENCIES DEVELOPMENT Known_problems MANIFEST* Release_Notes"
|
69 |
82 |
|
70 |
83 |
PATCHES=(
|
71 |
|
"${FILESDIR}"/${PN}-2.17.0-makemakerfix.patch
|
72 |
|
"${FILESDIR}"/${PN}-2.17.0-fortran.patch # respect user choice for fortran compiler+flags, add pic
|
73 |
|
"${FILESDIR}"/${PN}-2.17.0-shared-hdf.patch # search for shared hdf instead of static
|
74 |
|
"${FILESDIR}"/${PN}-2.17.0-dot-in-inc.patch # fix broken Perl 5.26 compile due to @INC changes
|
|
84 |
"${FILESDIR}"/${PN}-2.54.0-fortran.patch # respect user choice for fortran compiler+flags, add pic
|
75 |
85 |
)
|
76 |
86 |
|
77 |
87 |
pkg_setup() {
|