packages feed

hsignal-0.2.2: hsignal.cabal

Name:               hsignal
Version:            0.2.2
License:            BSD3
License-file:       LICENSE
Copyright:          (c) A.V.H. McPhail 2010, 2011
Author:             Vivian McPhail
Maintainer:         haskell.vivian.mcphail <at> gmail <dot> com
Stability:          provisional
Homepage:           http://code.haskell.org/hsignal
Synopsis:           Signal processing and EEG data analysis
Description:        
     Purely functional interface to signal processing based on hmatrix
     .                       
     Provides data types for manipulating EEG data, including reading from BDF data format files
     .
     When hmatrix is installed with -fvector, the vector type is Data.Vector.Storable
     from the vector package.
     .
     Feature requests, suggestions, and bug fixes welcome.
Category:           Math
tested-with:        GHC ==7.0.1

cabal-version:      >=1.8

build-type:         Custom

extra-source-files: configure configure.hs README INSTALL CHANGES
extra-tmp-files:    hsignal.buildinfo

flag mkl
    description:    Link with Intel's MKL optimized libraries.
    default:        False

library

    Build-Depends:      base >= 4 && < 5,
                        mtl > 2, 
                        array,
                        bytestring, storable-complex, binary,
                        hmatrix >= 0.10.0.4,
                        hmatrix-gsl-stats >= 0.1.2.10,
                        hstatistics >= 0.2.2.10

    Extensions:         ForeignFunctionInterface

    hs-source-dirs:     lib
    Exposed-modules:    Numeric.Signal
                        Numeric.Signal.Multichannel
                        Numeric.Signal.Noise
                        Numeric.Signal.EEG
    other-modules:      Numeric.Signal.Internal
                        Numeric.Signal.EEG.BDF

    C-sources:          lib/Numeric/Signal/signal-aux.c

    ghc-prof-options:   -auto

    ghc-options:        -Wall -fno-warn-missing-signatures
                              -fno-warn-orphans
                              -fno-warn-unused-binds

    if flag(mkl)
      if arch(x86_64)
        extra-libraries:   gsl mkl_lapack mkl_intel_lp64 mkl_sequential mkl_core
      else
        extra-libraries:   gsl mkl_lapack mkl_intel mkl_sequential mkl_core

    if os(OSX)
        extra-lib-dirs: /opt/local/lib/
        include-dirs: /opt/local/include/
        extra-libraries: gsl
        frameworks: Accelerate

    if os(windows)
        extra-libraries: gsl-0 blas lapack

-- The extra-libraries required for GSL
-- should now be automatically detected by configure(.hs)

    extra-libraries:
    extra-lib-dirs:

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