Info2: << Package: arpack-ng-mpi%type_pkg[-blas] Version: 3.1.3 Revision: 4 Type: -blas (-atlas -ref), gcc(4.8), lapack (3.4.2) Maintainer: Alexander Hansen Description: Solve large scale eigenvalue problems DescDetail: << ARPACK is a collection of Fortran77 subroutines designed to solve large scale eigenvalue problems. It began at Rice university: http://www.caam.rice.edu/software/ARPACK The arpack-ng project is a joint project between Debian, Octave and Scilab in order to provide a common and maintained version of arpack. Because no single release has been published by Rice university for the last decade and since many software packages (Octave, Scilab, R, Matlab...) have forked it and implemented their own modifications, arpack-ng aims to tackle this issue by providing a common repository and maintained version. << DescUsage: << This package contains static libraries, an unversioned dylib, Fortran examples, and documentation. << BuildDependsOnly: true Homepage: http://forge.scilab.org/index.php/p/arpack-ng/ License: BSD Source: http://forge.scilab.org/upload/arpack-ng/files/arpack-ng-%v.tar.gz Source-MD5: 90ba42eae70b517ebdb72921cb4186df BuildDepends: << (%type_raw[-blas] = -atlas) atlas (>=3.10.1-1), (%type_raw[-blas] = -ref) lapack%type_pkg[lapack], fink (>=0.30.0), gcc%type_pkg[gcc]-compiler, openmpi-dev << Depends: %N-shlibs (= %v-%r ) Conflicts: << arpack-ng, arpack-ng-atlas, arpack-ng-ref, %{Ni}, %{Ni}-atlas, %{Ni}-ref, arpack, arpack-atlas << Replaces: << %{Ni}, %{Ni}-atlas, %{Ni}-ref, arpack-ng, arpack-ng-atlas, arpack-ng-ref, arpack, arpack-atlas << PatchScript: << #!/bin/sh -ev perl -pi -e 's|force_load,|force_load |g' configure # tweak the .pc file if [ "%type_raw[-blas]" = "-ref" ] ; then perl -pi -e "s|-lblas -latlas|-L%p/lib/lapack/%type_raw[lapack] -lrefblas -lreflapack|" arpack.pc.in else perl -pi -e "s|-lblas -latlas|-ltatlas|" arpack.pc.in fi << SetLDFLAGS: -L%p/lib/openmpi -Wl,-dead_strip_dylibs ConfigureParams: << (%type_raw[-blas] = -atlas) --with-blas='-ltatlas' \ (%type_raw[-blas] = -atlas) --with-lapack='-ltatlas' \ (%type_raw[-blas] = -ref) --with-blas='-L%p/lib/lapack/%type_raw[lapack] -lrefblas' \ (%type_raw[-blas] = -ref) --with-lapack='-L%p/lib/lapack/%type_raw[lapack] -lreflapack' \ --enable-mpi \ --libdir=%p/lib/arpack-ng%type_pkg[-blas] \ --disable-static << CompileScript: << #!/bin/sh -ev export F77=%p/bin/gfortran-fsf-%type_raw[gcc] export MPIF77=%p/bin/mpif77 export LIBS='-lmpi_f77 -lmpi' %{default_script} << InstallScript: << #!/bin/sh -ev make install DESTDIR=%d # manually install headers mkdir -p %i/include/arpack cp SRC/*.h %i/include/arpack # put in compatibility symlinks pushd %i/lib ln -s arpack-ng%type_pkg[-blas]/libarpack.dylib ln -s arpack-ng%type_pkg[-blas]/libparpack.dylib # move .la and .pc files mv arpack-ng%type_pkg[-blas]/pkgconfig . mv arpack-ng%type_pkg[-blas]/*.la . popd # copy PARPACK docs manually mkdir -p %i/share/doc/%n/PARPACK cp -r PARPACK_CHANGES %i/share/doc/%n/ cp -r PARPACK/EXAMPLES %i/share/doc/%n/PARPACK << DocFiles: CHANGES DOCUMENTS EXAMPLES README TODO COPYING DescPackaging: << Needs a gfortran; we're going with gcc48. Needs -ff2c when using Accelerate.framework, but not when using ATLAS or the reference LAPACK. We can actually disable parpack now. Only copy the PARPACK docs for the -mpi variants. Revision 3: stash libraries in a variant-specific directory to avoid dependency deadlocks. << Splitoff: << Package: %N-shlibs Files: lib/arpack-ng%type_pkg[-blas]/lib*arpack.2.dylib Shlibs: << %p/lib/arpack-ng%type_pkg[-blas]/libarpack.2.dylib 3.0.0 %n (>=3.1.3-1) %p/lib/arpack-ng%type_pkg[-blas]/libparpack.2.dylib 3.0.0 %n (>=3.1.3-1) << Depends: << (%type_raw[-blas] = -atlas ) atlas-shlibs (>=3.10.1-1), (%type_raw[-blas] = -ref) lapack%type_pkg[lapack]-shlibs, gcc%type_pkg[gcc]-shlibs << Conflicts: arpack-ng%type_pkg[-blas]-shlibs Replaces: arpack-ng%type_pkg[-blas]-shlibs DescDetail: << This package contains the shared libraries. << DocFiles: COPYING << <<