diff --git a/science/mathematics/component.xml b/science/mathematics/component.xml new file mode 100644 index 0000000000..12733ca8d8 --- /dev/null +++ b/science/mathematics/component.xml @@ -0,0 +1,3 @@ + + science.mathematics + diff --git a/science/mathematics/fftw3/actions.py b/science/mathematics/fftw3/actions.py new file mode 100644 index 0000000000..1f58e7c190 --- /dev/null +++ b/science/mathematics/fftw3/actions.py @@ -0,0 +1,94 @@ +#!/usr/bin/python +# -*- coding: utf-8 -*- +# +# Licensed under the GNU General Public License, version 3. +# See the file http://www.gnu.org/licenses/gpl.txt + +from pisi.actionsapi import shelltools +from pisi.actionsapi import autotools +from pisi.actionsapi import pisitools +from pisi.actionsapi import get + +WorkDir="fftw-%s" % get.srcVERSION() + +def setup(): + autotools.autoreconf("-fi") + + shelltools.copytree("../fftw-%s" % get.srcVERSION(), "../fftw-%s-double" % get.srcVERSION()) + shelltools.copytree("../fftw-%s" % get.srcVERSION(), "../fftw-%s-long-double" % get.srcVERSION()) + shelltools.copytree("../fftw-%s" % get.srcVERSION(), "../fftw-%s-quad" % get.srcVERSION()) + + autotools.configure("--enable-sse \ + --enable-shared \ + --disable-static \ + --disable-dependency-tracking \ + --enable-threads \ + --enable-fortran \ + --enable-single") + + shelltools.cd("../fftw-%s-quad" % get.srcVERSION()) + autotools.configure("--enable-quad-precision \ + --enable-shared \ + --disable-static \ + --disable-dependency-tracking \ + --enable-fortran \ + --enable-threads") + + # The only difference here is that there is no --enable-float + shelltools.cd("../fftw-%s-double" % get.srcVERSION()) + autotools.configure("--enable-sse2 \ + --enable-shared \ + --disable-static \ + --enable-fortran \ + --disable-dependency-tracking \ + --enable-threads") + + # The only difference here is --enable-long-double + shelltools.cd("../fftw-%s-long-double" % get.srcVERSION()) + autotools.configure("--enable-shared \ + --disable-static \ + --disable-dependency-tracking \ + --enable-threads \ + --enable-fortran \ + --enable-long-double") + +#def check(): + #autotools.make("check") + + #shelltools.cd("../fftw-%s-double" % get.srcVERSION()) + #autotools.make("check") + + #shelltools.cd("../fftw-%s-long-double" % get.srcVERSION()) + #autotools.make("check") + + #shelltools.cd("../fftw-%s-quad" % get.srcVERSION()) + #autotools.make("check") + +def build(): + autotools.make() + + shelltools.cd("../fftw-%s-double" % get.srcVERSION()) + autotools.make() + + shelltools.cd("../fftw-%s-long-double" % get.srcVERSION()) + autotools.make() + + shelltools.cd("../fftw-%s-quad" % get.srcVERSION()) + autotools.make() + +def install(): + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + shelltools.cd("../fftw-%s-double" % get.srcVERSION()) + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + shelltools.cd("../fftw-%s-long-double" % get.srcVERSION()) + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + shelltools.cd("../fftw-%s-quad" % get.srcVERSION()) + autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + + shelltools.cd("../fftw-%s" % get.srcVERSION()) + + pisitools.dohtml("doc/html/*") + pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "NEWS", "README", "TODO", "CONVENTIONS") diff --git a/science/mathematics/fftw3/pspec.xml b/science/mathematics/fftw3/pspec.xml new file mode 100644 index 0000000000..1288aa9a7a --- /dev/null +++ b/science/mathematics/fftw3/pspec.xml @@ -0,0 +1,73 @@ + + + + + fftw3 + http://www.fftw.org + + PisiLinux Community + admins@pisilinux.org + + GPLv2 + library + A library for computing the discrete Fourier transform (DFT) + fftw3 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). + http://www.fftw.org/fftw-3.3.4.tar.gz + + libgfortran + libquadmath + gettext + + + + + fftw3 + + libquadmath + + + /usr/bin + /usr/lib + /usr/share/doc + /usr/share/man + /usr/share/info + + + + + fftw3-devel + Development files for fftw3 + + fftw3 + + + /usr/lib/pkgconfig + /usr/include + /usr/share/doc/fftw3/html + + + + + + 2014-05-25 + 3.3.4 + Version bump. + Alihan Öztürk + alihan@pisilinux.org + + + 2014-01-24 + 3.3.3 + Rebuild + Stefan Gronewold(groni) + groni@pisilinux.org + + + 2013-01-07 + 3.3.3 + First release + Erdinç Gültekin + admins@pisilinux.org + + + diff --git a/science/mathematics/fftw3/translations.xml b/science/mathematics/fftw3/translations.xml new file mode 100644 index 0000000000..42bf70e61e --- /dev/null +++ b/science/mathematics/fftw3/translations.xml @@ -0,0 +1,15 @@ + + + + fftw3 + Ayrık Fourier dönüşümü hesaplamak için bir kütüphane + fftw3, ayrık Fourier dönüşümü hesaplamak için kullanılabilecek bir C kütüphanesidir. + FFTW v3 est une librairie sous-routine C pour le calcul discret de transformation de Fourier (DFT) dans une ou plusieurs dimensions, pour une entrée de taille arbitraire, aussi bien pour des données réeles ou complexes (ainsi que les données paires/impaires, i.e. la transformation discrète cosinus/sinus ou DCT/DST). + FFTW v3 es una librería con subrutinas C para computar la transformación Fourier discreta (DFT) en una o más dimensiones, con longitud de entrada arbitraria, para datos reales y complejos (y también de datos par/impar, i.e. transformación discreta coseno/seno DCT/DST). + + + + fftw3-devel + fftw3 için geliştirme dosyaları + +