From 1562d6d9175834ff9e1fb2a4215d76771262bb94 Mon Sep 17 00:00:00 2001 From: Anton Leontiev Date: Sun, 5 Jan 2014 13:31:12 +0400 Subject: [PATCH] Updated to current git revision --- .SRCINFO | 5 +++-- PKGBUILD | 41 +++++++++++++++++++++-------------------- perldl.conf | 3 ++- 3 files changed, 26 insertions(+), 23 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 9dc42675f762..ee90591f166f 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,12 +1,13 @@ pkgbase = perl-pdl-git pkgdesc = The Perl Data Language, a perl extension designed for scientific and bulk numeric data processing and display - pkgver = 20130413.3530 + pkgver = 20131205.3765 pkgrel = 1 url = http://search.cpan.org/dist/PDL arch = i686 arch = x86_64 license = PerlArtistic license = GPL + makedepends = perl>=5.11.3 makedepends = fftw2 makedepends = hdf4 makedepends = perl-opengl>=0.63 @@ -27,7 +28,7 @@ pkgbase = perl-pdl-git source = perl-pdl::git+git://pdl.git.sourceforge.net/gitroot/pdl/pdl source = perldl.conf md5sums = SKIP - md5sums = 9caa2b89a7f7aabfd7dcfb2c1ef79bc9 + md5sums = 8e1f6285ce4ee9439dc1088709cfec18 pkgname = perl-pdl-git diff --git a/PKGBUILD b/PKGBUILD index aae06a3d7567..bed10df6976d 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Anton Leontiev _pkgname=perl-pdl pkgname=$_pkgname-git -pkgver=20130413.3530 +pkgver=20131205.3765 pkgrel=1 pkgdesc='The Perl Data Language, a perl extension designed for scientific and bulk numeric data processing and display' arch=('i686' 'x86_64') @@ -9,33 +9,34 @@ url='http://search.cpan.org/dist/PDL' license=('PerlArtistic' 'GPL') depends=( - 'perl>=5.8.9' # To provide ExtUtils::MakeMaker 3.61 - 'perl-inline>=0.43' - 'gsl' + 'perl>=5.8.9' + 'perl-inline>=0.43' + 'gsl' ) makedepends=( - 'fftw2' - 'hdf4' - 'perl-opengl>=0.63' - 'plplot' - 'perl-extutils-f77' - 'proj' + 'perl>=5.11.3' # To provide ExtUtils::MakeMaker 6.56 + 'fftw2' + 'hdf4' + 'perl-opengl>=0.63' + 'plplot' + 'perl-extutils-f77' + 'proj' ) optdepends=( - 'fftw2: for PDL::FFTW support' - 'hdf4: for HDF files 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.63: for PDL::Graphics::TriD support' - 'plplot: for PDL::Graphics::PLplot support' - 'proj: for PDL::GIS::Proj and PDL::Transform::Proj4 support' + 'fftw2: for PDL::FFTW support' + 'hdf4: for HDF files 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.63: for PDL::Graphics::TriD support' + 'plplot: for PDL::Graphics::PLplot support' + 'proj: for PDL::GIS::Proj and PDL::Transform::Proj4 support' ) provides=("$_pkgname") conflicts=("$_pkgname") source=("$_pkgname::git+git://pdl.git.sourceforge.net/gitroot/pdl/pdl" 'perldl.conf') -md5sums=('SKIP' '9caa2b89a7f7aabfd7dcfb2c1ef79bc9') +md5sums=('SKIP' '8e1f6285ce4ee9439dc1088709cfec18') pkgver() { cd "$_pkgname" @@ -44,7 +45,7 @@ pkgver() { build() { cd "$_pkgname" - PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor PDLCONF=$srcdir/perldl.conf + F77LIBS='-lgfortran -lm' PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor PDLCONF=$srcdir/perldl.conf make } diff --git a/perldl.conf b/perldl.conf index a0e615ab34aa..5f578d0f7b99 100644 --- a/perldl.conf +++ b/perldl.conf @@ -4,5 +4,6 @@ %PDL_CONFIG = ( # Fix building on x86_64 with GCC 4.8 # For more info see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=701335 - OPTIMIZE => "$Config{optimize} -fno-aggressive-loop-optimizations" + OPTIMIZE => "$Config{optimize} -fno-aggressive-loop-optimizations", + WITH_PLPLOT => 1 );