diff --git a/sci-libs/fftw/fftw-3.3.3.recipe b/sci-libs/fftw/fftw-3.3.3.recipe new file mode 100644 index 000000000..6b87212d4 --- /dev/null +++ b/sci-libs/fftw/fftw-3.3.3.recipe @@ -0,0 +1,69 @@ +SUMMARY="Fast C library for the Discrete Fourier Transform" +DESCRIPTION=" +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). We believe that FFTW, which is free software, should \ +become the FFT library of choice for most applications. +Our 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. +" +HOMEPAGE="http://www.fftw.org/" +SRC_URI="http://www.fftw.org/fftw-3.3.3.tar.gz" +CHECKSUM_SIZE="3920661" +CHECKSUM_MD5="0a05ca9c7b3bfddc8278e7c40791a1c2" +CHECKSUM_RMD160="f45e97f06ffaf59b5022ea5e33ef240cb5e84e74" +CHECKSUM_SHA512="1d88b6376ba8c15cceafd3381de1d181a974b921b72b31dd89c297e5771e8d665aa3c121ef2504a70e7b0bb562b1e0612ac2a02121c412d27df06c4d687507c4" +LICENSE="GNU GPL v2" +COPYRIGHT=" + 2003, 2007-2011 Matteo Frigo + 2003, 2007-2011 Massachusetts Institute of Technology + " +REVISION="1" +ARCHITECTURES="?x86 ?x86_gcc2 ?x86_64" +SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86" + +PROVIDES=" + lib:libfftw$secondaryArchSuffix = $portVersion + cmd:fftw_wisdom + cmd:fftw_wisdom_to_conf + " + +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + " + +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:make + " + +BUILD() +{ + runConfigure ./configure + make +} + +INSTALL() +{ + make install + prepareInstalledDevelLib libfftw3 + packageEntries devel $developDir +} + +PROVIDES_devel=" + devel:libfftw$secondaryArchSuffix = $portVersion + " +REQUIRES_devel=" + lib:libfftw$secondaryArchSuffix == $portVersion base + "