Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv22075

Modified Files:
        fftw.info 
Log Message:
moved from unstable, mpi variant disabled (since gcc4 not availabe in stable)


Index: fftw.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/stable/main/finkinfo/sci/fftw.info,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- fftw.info   22 Mar 2006 05:31:06 -0000      1.2
+++ fftw.info   16 Nov 2006 03:59:27 -0000      1.3
@@ -1,26 +1,54 @@
-Package: fftw
+Info2: <<
+Package: fftw%type_pkg[-mpi]
+Type: -mpi (.)
 Version: 2.1.5
-Revision: 2
-Architecture: powerpc
-DescPackaging: Depends on g77, which doesn't compile on intel
+Revision: 1009
 Maintainer: Jeffrey Whitaker <[EMAIL PROTECTED]>
-Source:  ftp://ftp.fftw.org/pub/%n/old/%n-%v.tar.gz
+Source:  ftp://ftp.fftw.org/pub/%n/old/fftw-%v.tar.gz
 Source-MD5: 8d16a84f3ca02a785ef9eb36249ba433
-BuildDepends:  g77
-Depends: %N-shlibs (= %v-%r)
+BuildDepends:  g95 (>= 0.50-20060413), (%type_raw[-mpi] = -mpi) lammpi-dev (>= 
7.0.6-1011)
+Depends: %N-shlibs (= %v-%r), (%type_raw[-mpi] = -mpi) lammpi (>= 7.0.6-1011)
 BuildDependsOnly: True
-Patch: %n.patch
-Conflicts: fftw-absoft
-Replaces: fftw-absoft
+Patch: fftw.patch
+Conflicts: fftw-absoft, fftw, fftw-mpi
+Replaces: fftw-absoft, fftw, ftw-mpi
+Provides: (%type_raw[-mpi] = -mpi)fftw
 License: GPL
 SetCFLAGS: -O3 -fomit-frame-pointer -Wall -W -Wcast-qual -Wpointer-arith 
-Wcast-align -pedantic -fno-schedule-insns -fschedule-insns2 -fstrict-aliasing 
-ConfigureParams: --enable-shared --enable-type-prefix --enable-threads 
--enable-fortran
+ConfigureParams: --enable-shared --enable-type-prefix --enable-threads 
--enable-fortran --infodir=%p/share/info
+CompileScript: echo "No Compile Script"
 InstallScript: <<
- make install prefix=%i infodir=%i/share/info
+ #!/bin/bash -ev
+ if [ "%type_raw[-mpi]" == "-mpi" ]; then
+     if [ %m = "i386" ]; then 
+     FC=%p/bin/g95 FLIBS="-L%p/lib -lg95" ./configure %c --without-gcc-arch 
--enable-mpi
+     else
+     FC=%p/bin/g95 FLIBS="-L%p/lib -lg95" ./configure %c --enable-mpi
+     fi
+ else
+     if [ %m = "i386" ]; then 
+     FC=%p/bin/g95 FLIBS="-L%p/lib -lg95" ./configure %c --without-gcc-arch 
+     else
+     FC=%p/bin/g95 FLIBS="-L%p/lib -lg95" ./configure %c 
+     fi
+ fi
+ make install DESTDIR=%d
  make clean
- ./configure %c --enable-float
+ if [ "%type_raw[-mpi]" == "-mpi" ]; then
+     if [ %m = "i386" ]; then 
+     FC=%p/bin/g95 FLIBS="-L%p/lib -lg95" ./configure %c --without-gcc-arch 
--enable-mpi --enable-float
+     else
+     FC=%p/bin/g95 FLIBS="-L%p/lib -lg95" ./configure %c --enable-float 
--enable-altivec --enable-mpi
+     fi
+ else
+     if [ %m = "i386" ]; then 
+     FC=%p/bin/g95 FLIBS="-L%p/lib -lg95" ./configure %c --without-gcc-arch 
--enable-float
+     else
+     FC=%p/bin/g95 FLIBS="-L%p/lib -lg95" ./configure %c --enable-float 
--enable-altivec 
+     fi
+ fi
  make
- make install prefix=%i infodir=%i/share/info
+ make install DESTDIR=%d
  (cd %i/lib; ln -s %p/lib/libdfftw.2.0.7.dylib libfftw.dylib)
  (cd %i/lib; ln -s %p/lib/libdrfftw.2.0.7.dylib librfftw.dylib)
  (cd %i/include; ln -s %p/include/dfftw.h fftw.h)
@@ -28,9 +56,10 @@
 <<
 SplitOff: <<
   Package: %N-shlibs
-  Replaces: %N (<= 2.1.3-9), fftw-absoft-shlibs
-  Conflicts: fftw-absoft
-  Files: lib/libdfftw.*.dylib lib/libdfftw_threads.*.dylib 
lib/libdrfftw.*.dylib lib/libdrfftw_threads.*.dylib lib/libsfftw.*.dylib 
lib/libsfftw_threads.*.dylib lib/libsrfftw.*.dylib lib/libsrfftw_threads.*.dylib
+  Conflicts: %N (<= 2.1.3-9), fftw-absoft-shlibs, fftw-shlibs, fftw-mpi-shlibs
+  Replaces: fftw-absoft-shlibs, fftw-shlibs, fftw-mpi-shlibs
+  Provides: (%type_raw[-mpi] = -mpi)fftw-shlibs
+  Files: lib/lib*.*.dylib
   Shlibs: <<
    %p/lib/libsrfftw.2.dylib 3.0.0 %n (>= 2.1.3-12)
    %p/lib/libdrfftw.2.dylib 3.0.0 %n (>= 2.1.3-12)
@@ -40,13 +69,18 @@
    %p/lib/libdrfftw_threads.2.dylib 3.0.0 %n (>= 2.1.3-12)
    %p/lib/libdfftw_threads.2.dylib 3.0.0 %n (>= 2.1.3-12)
    %p/lib/libsfftw_threads.2.dylib 3.0.0 %n (>= 2.1.3-12)
+   %p/lib/libsrfftw_mpi.2.dylib 3.0.0 fftw-mpi (>= 2.1.3-12)
+   %p/lib/libdrfftw_mpi.2.dylib 3.0.0 fftw-mpi (>= 2.1.3-12)
+   %p/lib/libdfftw_mpi.2.dylib 3.0.0 fftw-mpi (>= 2.1.3-12)
+   %p/lib/libsfftw_mpi.2.dylib 3.0.0 fftw-mpi (>= 2.1.3-12)
   <<
   DocFiles: README COPYING INSTALL COPYRIGHT NEWS README.hacks AUTHORS
 <<
 DocFiles: README COPYING INSTALL COPYRIGHT NEWS README.hacks AUTHORS
-Description: Library for computing the Discrete Fourier Transform
+Description: Discrete Fourier Transform Library
 DescDetail: <<
  Performs the DFT in one or more dimensions, of both real and complex data, 
  for arbitrary input size. 
 <<
 Homepage: http://www.fftw.org
+<<


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to