2 # Contributor: Anton Leontiev <bunder /at/ t-25.ru>
3 # Generator : CPANPLUS::Dist::Arch 1.15
5 # Contributor: Thomas Dziedzic < gostrc at gmail >
6 # Contributor: carltonf <xiong[c05]@gmail.com>
7 # Contributor: Colin Pitrat <colin.pitrat@gmail.com>
12 pkgdesc="The Perl Data Language, a perl extension designed for scientific and bulk numeric data processing and display"
13 arch=("i686" "x86_64")
14 url="http://search.cpan.org/dist/PDL"
15 license=("PerlArtistic" "GPL")
16 depends=("perl>=5.8.1" "perl-inline>=0.43" "gsl")
17 makedepends=("fftw2" "hdf4" "perl-opengl>=0.63" "plplot" "proj" "perl-extutils-f77")
19 "fftw2: for PDL::FFTW support"
20 "hdf4: for HDF files support"
21 "perl-astro-fits-header: improved FITS files support"
22 # "perl-convert-uu: for the case when something wrong with Unicode support" # It is necessary on *BSD systems
23 # "perl-extutils-f77: for PDL::Slatec and PDL::Minuit support" # It is not necessary at runtime
24 "perl-opengl>=0.63: for PDL::Graphics::TriD support"
25 "plplot: for PDL::Graphics::PLplot support"
26 "proj: for PDL::GIS::Proj and PDL::Transform::Proj4 support")
27 source=(http://search.cpan.org/CPAN/authors/id/C/CH/CHM/PDL-2.4.9.tar.gz gsl_sf_laguerre.patch)
29 changelog=("changelog")
30 md5sums=("459e127d3ad7d80a95d6006373b1da6c" "f535659688fff07c9c520742e2881acc")
33 cd "$srcdir/PDL-2.4.9"
34 patch -p1 -i../gsl_sf_laguerre.patch
35 PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
40 cd "$srcdir/PDL-2.4.9"
45 cd "$srcdir/PDL-2.4.9"
46 make install DESTDIR="$pkgdir"
47 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete