blob: be79a7f2438e7c2350ccd055d8ee7f18d6fd1e40 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# CPAN Name : PDL
# Contributor: Anton Leontiev <bunder /at/ t-25.ru>
# Generator : CPANPLUS::Dist::Arch 1.28
# Contributor: AndrĂ¡s Wacha < awacha at gmail>
# Contributor: Thomas Dziedzic < gostrc at gmail >
# Contributor: carltonf <xiong[c05]@gmail.com>
# Contributor: Colin Pitrat <colin.pitrat@gmail.com>
pkgname=perl-pdl-nohdf4
pkgver=2.017
pkgrel=4
pkgdesc='The Perl Data Language, a perl extension designed for scientific and bulk numeric data processing and display'
arch=('i686' 'x86_64')
url='http://search.cpan.org/dist/PDL'
license=('PerlArtistic' 'GPL')
depends=(
'perl>=5.8.9'
'perl-inline>=0.43'
'gsl'
'perl-inline-c'
)
provides=('perl-pdl=${pkgver}')
conflicts=('perl-pdl')
makedepends=(
'perl>=5.11.3' # To provide ExtUtils::MakeMaker 6.56
'fftw2'
'perl-opengl>=0.6703'
'perl-devel-checklib'
# 'plplot'
# 'perl-extutils-f77'
'proj'
)
checkdepends=(
'perl-test-warn'
)
optdepends=(
'fftw2: for PDL::FFTW support'
'perl-astro-fits-header: improved FITS files support'
'perl-convert-uu: for the case when something wrong with Unicode support' # It is necessary on *BSD systems
'perl-extutils-f77: for PDL::Slatec and PDL::Minuit support' # It is not necessary at runtime
'perl-opengl>=0.6703: for PDL::Graphics::TriD support'
'plplot: for PDL::Graphics::PLplot support'
'proj: for PDL::GIS::Proj and PDL::Transform::Proj4 support'
)
source=(http://search.cpan.org/CPAN/authors/id/C/CH/CHM/PDL-${pkgver}.tar.gz)
options=(!emptydirs)
md5sums=('9966447f0afd61625e3ea871f731adf1')
build() {
cd PDL-${pkgver}
F77LIBS='-lgfortran -lm' PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
make
}
check() {
cd PDL-${pkgver}
make test
}
package() {
cd PDL-${pkgver}
make install DESTDIR="$pkgdir"
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
|