Update of /cvsroot/fink/dists/10.7/stable/main/finkinfo/sci
In directory vz-cvs-3.sog:/tmp/cvs-serv14063
Added Files:
fftw.info fftw.patch
Log Message:
updated to use gcc46 gfortran, works on 10.7
--- NEW FILE: fftw.info ---
Info2: <<
Package: fftw%type_pkg[-mpi]
Type: -mpi (boolean)
Version: 2.1.5
Revision: 1015
Maintainer: None <[email protected]>
Source: ftp://ftp.fftw.org/pub/%n/old/fftw-%v.tar.gz
Source-MD5: 8d16a84f3ca02a785ef9eb36249ba433
BuildDepends: gcc46, (%type_raw[-mpi] = -mpi) openmpi-dev, fink (>= 0.27.2)
BuildConflicts: (%type_raw[-mpi] = .) openmpi-dev, lammpi-dev
Depends: %N-shlibs (= %v-%r), gcc46-shlibs, (%type_raw[-mpi] = -mpi) openmpi,
(%type_raw[-mpi] = -mpi) openmpi-shlibs
BuildDependsOnly: True
PatchFile: fftw.patch
PatchFile-MD5: 4e60cf62cfd5f5702f963e8fdac2f680
Conflicts: fftw-absoft, fftw, fftw-mpi
Replaces: fftw-absoft, fftw, ftw-mpi
Provides: (%type_raw[-mpi] = -mpi)fftw
License: GPL
NoSetMAKEFLAGS: true
SetMAKEFLAGS: -j1
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 --infodir=%p/share/info FFLAGS=-03
CompileScript: echo "No Compile Script"
InstallScript: <<
#!/bin/bash -ev
if [ "%type_raw[-mpi]" == "-mpi" ]; then
if [ %m != "powerpc" ]; then
F77=%p/bin/gfortran FLIBS="-L%p/lib/gcc4.4/lib -lgfortran" ./configure %c
--without-gcc-arch --enable-mpi
else
F77=%p/bin/gfortran FLIBS="-L%p/lib/gcc4.4/lib -lgfortran" ./configure %c
--enable-mpi
fi
else
if [ %m != "powerpc" ]; then
F77=%p/bin/gfortran FLIBS="-L%p/lib/gcc4.4/lib -lgfortran" ./configure %c
--without-gcc-arch
else
F77=%p/bin/gfortran FLIBS="-L%p/lib/gcc4.4/lib -lgfortran" ./configure %c
fi
fi
make install DESTDIR=%d
make clean
if [ "%type_raw[-mpi]" == "-mpi" ]; then
if [ %m != "powerpc" ]; then
F77=%p/bin/gfortran FLIBS="-L%p/lib/gcc4.4/lib -lgfortran" ./configure %c
--without-gcc-arch --enable-mpi --enable-float
else
F77=%p/bin/gfortran FLIBS="-L%p/lib/gcc4.4/lib -lgfortran" ./configure %c
--enable-float --enable-altivec --enable-mpi
fi
else
if [ %m != "powerpc" ]; then
F77=%p/bin/gfortran FLIBS="-L%p/lib/gcc4.4/lib -lgfortran" ./configure %c
--without-gcc-arch --enable-float
else
F77=%p/bin/gfortran FLIBS="-L%p/lib/gcc4.4/lib -lgfortran" ./configure %c
--enable-float --enable-altivec
fi
fi
make
cd doc
rm -f fftw.info fftw.info-1 fftw.info-2 fftw.info-3 fftw.info-4 fftw.info-5
make info
cd ..
make install DESTDIR=%d
(cd %i/lib; ln -s %p/lib/libdfftw.2.0.7.dylib libfftw.dylib) || exit 1
(cd %i/lib; ln -s %p/lib/libdrfftw.2.0.7.dylib librfftw.dylib) || exit 1
(cd %i/include; ln -s %p/include/dfftw.h fftw.h) || exit 1
(cd %i/include; ln -s %p/include/drfftw.h rfftw.h) || exit 1
<<
SplitOff: <<
Package: %N-shlibs
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)
%p/lib/libdfftw.2.dylib 3.0.0 %n (>= 2.1.3-12)
%p/lib/libsfftw.2.dylib 3.0.0 %n (>= 2.1.3-12)
%p/lib/libsrfftw_threads.2.dylib 3.0.0 %n (>= 2.1.3-12)
%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)
(%type_raw[-mpi] = -mpi) %p/lib/libsrfftw_mpi.2.dylib 3.0.0 fftw-mpi (>=
2.1.3-12)
(%type_raw[-mpi] = -mpi) %p/lib/libdrfftw_mpi.2.dylib 3.0.0 fftw-mpi (>=
2.1.3-12)
(%type_raw[-mpi] = -mpi) %p/lib/libdfftw_mpi.2.dylib 3.0.0 fftw-mpi (>=
2.1.3-12)
(%type_raw[-mpi] = -mpi) %p/lib/libsfftw_mpi.2.dylib 3.0.0 fftw-mpi (>=
2.1.3-12)
<<
DocFiles: README COPYING INSTALL COPYRIGHT NEWS README.hacks AUTHORS
<<
#InfoDocs: fftw.info fftw.info-1 fftw.info-2 fftw.info-3 fftw.info-4 fftw.info-5
DocFiles: README COPYING INSTALL COPYRIGHT NEWS README.hacks AUTHORS
Description: Discrete Fourier Transform Library
InfoDocs: fftw.info
DescDetail: <<
FFTW is a C subroutine library for computing the discrete Fourier
transform (DFT) in one or more dimensions, of arbitrary input size,
and of both real and complex data (as well as of even/odd data,
i.e. the discrete cosine/sine transforms or DCT/DST).
Benchmarks, performed on on a variety of platforms, show that FFTW's
performance is typically superior to that of other publicly available
FFT software, and is even competitive with vendor-tuned codes. In
contrast to vendor-tuned codes, however, FFTW's performance is
portable: the same program will perform well on most architectures
without modification. Hence the name, "FFTW," which stands for the
somewhat whimsical title of "Fastest Fourier Transform in the West."
<<
DescPackaging: <<
Originally packaged by Jeffrey Whitaker.
<<
Homepage: http://www.fftw.org
<<
--- NEW FILE: fftw.patch ---
diff -ruN --exclude '*~' fftw-2.1.5/configure fftw-2.1.5.patched/configure
--- fftw-2.1.5/configure 2003-03-24 02:09:56.000000000 -0500
+++ fftw-2.1.5.patched/configure 2007-11-12 12:14:33.000000000 -0500
@@ -8771,7 +8771,7 @@
fi
echo "$as_me:$LINENO: result: $ac_cv_flibs" >&5
echo "${ECHO_T}$ac_cv_flibs" >&6
-FLIBS="$ac_cv_flibs"
+#FLIBS="$ac_cv_flibs"
ac_ext=c
ac_cpp='$CPP $CPPFLAGS'
diff -ruN --exclude '*~' fftw-2.1.5/doc/fftw.texi
fftw-2.1.5.patched/doc/fftw.texi
--- fftw-2.1.5/doc/fftw.texi 2003-03-16 18:43:18.000000000 -0500
+++ fftw-2.1.5.patched/doc/fftw.texi 2007-11-12 12:13:48.000000000 -0500
@@ -43,6 +43,11 @@
approved by the Free Software Foundation.
@end ifinfo
+@dircategory Texinfo documentation system
+@direntry
+* fftw: (fftw). FFTW User's Manual.
+@end direntry
+
@titlepage
@sp 10
@comment The title is printed in a large font.
------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs