Sebastien,
Attached is an update of fftw3 to the new 3.3.3 release with a few
corrections.
1) The missing dependency on gcc47-shlibs is added for fftw3-shlibs...
ibfftw3.3.dylib:
/sw/lib/libfftw3.3.dylib (compatibility version 7.0.0, current version
7.2.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 159.1.0)
/sw/lib/gcc4.7/lib/libgcc_s.1.dylib (compatibility version 1.0.0,
current version 1.0.0)
2) The Depends on gcc47 is switched to gcc47-compiler and the instances of
gcc-4 and gfortran
are changed to gcc-fsf-4.7 and gfortran-fsf-4.7. This is helpful for later when
gcc48 comes
out so gcc47 doesn't get constantly reinstalled.
3) The missing InfoTest is added.
Jack
ps The net diff to the current info file is...
--- /sw/fink/10.7/stable/main/finkinfo/sci/fftw3.info 2012-06-22
05:00:29.000000000 -0400
+++ fftw3.info 2013-02-10 19:06:42.000000000 -0500
@@ -1,20 +1,21 @@
Package: fftw3
-Version: 3.3.2
-Revision: 9
+Version: 3.3.3
+Revision: 1
Maintainer: Sebastien Maret <bma...@users.sourceforge.net>
Source: ftp://ftp.fftw.org/pub/fftw/fftw-%v.tar.gz
-Source-MD5: 6977ee770ed68c85698c7168ffa6e178
-BuildDepends: fink (>= 0.24.12-1), gcc47
+Source-MD5: 0a05ca9c7b3bfddc8278e7c40791a1c2
+BuildDepends: fink (>= 0.24.12-1), gcc47-compiler
Depends: %N-shlibs (= %v-%r)
BuildDependsOnly: True
License: GPL
ConfigureParams: --enable-shared --enable-openmp --enable-threads
--disable-mpi --enable-fortran --mandir='${prefix}/share/man'
--infodir='${prefix}/share/info'
GCC: 4.0
+InfoTest: TestScript: make check || exit 2
CompileScript: <<
#!/bin/sh -ev
- gcclib=`%p/bin/gfortran --print-lib`
+ gcclib=`%p/bin/gfortran-fsf-4.7 --print-lib`
FLIBDIR=`dirname $gcclib`
- CC=%p/bin/gcc-4 F77=%p/bin/gfortran FLIBS="-L${FLIBDIR}" ./configure %c
+ CC=%p/bin/gcc-fsf-4.7 F77=%p/bin/gfortran-fsf-4.7 FLIBS="-L${FLIBDIR}"
./configure %c
make
<<
InstallScript: <<
@@ -24,18 +25,19 @@
cp doc/html/*html %i/share/doc/%n/html
cp doc/FAQ/fftw-faq.html/*html %i/share/doc/%n/html/FAQ
make clean
- gcclib=`%p/bin/gfortran --print-lib`
+ gcclib=`%p/bin/gfortran-fsf-4.7 --print-lib`
FLIBDIR=`dirname $gcclib`
if [ x%m == x"powerpc" ]; then
- CC=%p/bin/gcc-4 F77=%p/bin/gfortran FLIBS="-L${FLIBDIR}" ./configure %c
--enable-float --enable-altivec
+ CC=%p/bin/gcc-fsf-4.7 F77=%p/bin/gfortran-fsf-4.7 FLIBS="-L${FLIBDIR}"
./configure %c --enable-float --enable-altivec
else
- CC=%p/bin/gcc-4 F77=%p/bin/gfortran FLIBS="-L${FLIBDIR}" ./configure %c
--enable-float
+ CC=%p/bin/gcc-fsf-4.7 F77=%p/bin/gfortran-fsf-4.7 FLIBS="-L${FLIBDIR}"
./configure %c --enable-float
fi
make
make -j1 install prefix=%i
<<
SplitOff: <<
Package: %N-shlibs
+ Depends: gcc47-shlibs
Files: lib/libfftw3*.*.dylib
Shlibs: <<
%p/lib/libfftw3.3.dylib 7.0.0 %n (>= 3.3.2-7)
Package: fftw3
Version: 3.3.3
Revision: 1
Maintainer: Sebastien Maret <bma...@users.sourceforge.net>
Source: ftp://ftp.fftw.org/pub/fftw/fftw-%v.tar.gz
Source-MD5: 0a05ca9c7b3bfddc8278e7c40791a1c2
BuildDepends: fink (>= 0.24.12-1), gcc47-compiler
Depends: %N-shlibs (= %v-%r)
BuildDependsOnly: True
License: GPL
ConfigureParams: --enable-shared --enable-openmp --enable-threads --disable-mpi
--enable-fortran --mandir='${prefix}/share/man' --infodir='${prefix}/share/info'
GCC: 4.0
InfoTest: TestScript: make check || exit 2
CompileScript: <<
#!/bin/sh -ev
gcclib=`%p/bin/gfortran-fsf-4.7 --print-lib`
FLIBDIR=`dirname $gcclib`
CC=%p/bin/gcc-fsf-4.7 F77=%p/bin/gfortran-fsf-4.7 FLIBS="-L${FLIBDIR}"
./configure %c
make
<<
InstallScript: <<
#!/bin/sh -ev
make -j1 install prefix=%i
mkdir -p %i/share/doc/%n/html/FAQ
cp doc/html/*html %i/share/doc/%n/html
cp doc/FAQ/fftw-faq.html/*html %i/share/doc/%n/html/FAQ
make clean
gcclib=`%p/bin/gfortran-fsf-4.7 --print-lib`
FLIBDIR=`dirname $gcclib`
if [ x%m == x"powerpc" ]; then
CC=%p/bin/gcc-fsf-4.7 F77=%p/bin/gfortran-fsf-4.7 FLIBS="-L${FLIBDIR}"
./configure %c --enable-float --enable-altivec
else
CC=%p/bin/gcc-fsf-4.7 F77=%p/bin/gfortran-fsf-4.7 FLIBS="-L${FLIBDIR}"
./configure %c --enable-float
fi
make
make -j1 install prefix=%i
<<
SplitOff: <<
Package: %N-shlibs
Depends: gcc47-shlibs
Files: lib/libfftw3*.*.dylib
Shlibs: <<
%p/lib/libfftw3.3.dylib 7.0.0 %n (>= 3.3.2-7)
%p/lib/libfftw3f.3.dylib 7.0.0 %n (>= 3.3.2-7)
%p/lib/libfftw3_threads.3.dylib 7.0.0 %n (>= 3.3.2-7)
%p/lib/libfftw3f_threads.3.dylib 7.0.0 %n (>= 3.3.2-7)
%p/lib/libfftw3_omp.3.dylib 7.0.0 %n (>= 3.3.2-7)
%p/lib/libfftw3f_omp.3.dylib 7.0.0 %n (>= 3.3.2-7)
<<
DocFiles: README NEWS TODO COPYING INSTALL COPYRIGHT AUTHORS CONVENTIONS
<<
DocFiles: README NEWS TODO COPYING INSTALL COPYRIGHT AUTHORS CONVENTIONS
InfoDocs: fftw3.info
Description: Discrete Fourier Transform Lib (Ver 3)
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."
<<
DescUsage: <<
Version 3 API is incompatible with Version 2 API (provided by fftw package)
<<
DescPackaging: <<
Single and double precision libs built, single precision libs have
altivec support. Both thread- and openmp-based shared memory
parallelization libraries are built.
Originally packaged by Jeffrey Whitaker, maintained by Sebastien Maret,
with updates for compiling 3.3.2 from David M. Rogers.
<<
Homepage: http://www.fftw.org
------------------------------------------------------------------------------
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel