packages feed

fft-0.1.7.1: fft.cabal

name:                fft
version:             0.1.7.1
synopsis:            Bindings to the FFTW library.
description:
                     Bindings to the FFTW library.
		     .
		     Provides high performance discrete fourier transforms in
		     arbitrary dimensions.  Include transforms of complex data,
		     real data, and real to real transforms.
		     .
category:            Math
license:             BSD3
license-file:        LICENSE
author:              Jed Brown
maintainer:          Jed Brown <jed@59A2.org>, Henning Thielemann <fft@henning-thielemann.de>
build-type:	     Simple
cabal-version:       >= 1.6

flag splitBase
flag base4

flag buildTests
  description: build test suite executable
  default: False

source-repository this
  tag:         0.1.7.1
  type:        darcs
  location:    http://code.haskell.org/fft/

source-repository head
  type:        darcs
  location:    http://code.haskell.org/fft/

library
  if flag(splitBase)
    build-depends: base >= 3, array, carray, storable-complex, ix-shapable
  else
    build-depends: base < 3, carray, storable-complex, ix-shapable
  if flag(base4)
    build-depends: base >= 4 && < 5, syb >= 0.1
  else
    build-depends: base < 4

  exposed-modules: Math.FFT
                   Math.FFT.Base
  pkgconfig-depends:
                   fftw3 >=3.3 && <4
  extensions:      ForeignFunctionInterface
  ghc-options:     -Wall

executable test-fft
  if flag(buildTests)
    build-depends:
      QuickCheck >=2.5 && <2.6
  else
    buildable: False
  ghc-options:     -Wall
  main-is: tests.hs
  hs-source-dirs: ., tests
  other-modules:   Math.FFT
                   Math.FFT.Base
  pkgconfig-depends:
                   fftw3 >=3.3 && <4
  extensions:      ForeignFunctionInterface