hCsound-0.2.3: hCsound.cabal
Name: hCsound
Version: 0.2.3
Cabal-Version: >= 1.2
Description: Haskell interface to Csound API.
License: LGPL
License-file: LICENSE
Author: John W. Lato, jwlato@gmail.com
Maintainer: John W. Lato, jwlato@gmail.com
Stability: experimental
synopsis: interface to CSound API
category: Sound, Music
build-type: Simple
tested-with: GHC == 6.10.1, GHC == 6.8.3, GHC == 6.6.1
extra-source-files: README COPYRIGHT changelog TODO examples/test1.csd examples/simple.hs examples/test2.hs examples/test3.hs
flag splitBase
description: Choose the new split-up base package.
flag useDouble
Description: link to doubles-based csound, if available
Default: True
flag useFramework
Description: Use CSound installed to /Libraries/Frameworks. OS X only.
Default: True
Library
Hs-Source-Dirs: src
src/Sound
src/Sound/Csound
build-depends: base, haskell98, mtl
build-tools: c2hs
other-modules: C2HS
exposed-modules: Sound.Csound
Sound.Csound.Interface
includes: csound.h
extra-libraries: sndfile
if flag(useDouble)
CC-Options: -DUSE_DOUBLE
if os(darwin) && flag(useFramework)
if flag(useDouble)
frameworks: CsoundLib64
include-dirs: /Library/Frameworks/CsoundLib64.framework/Headers
else
frameworks: CsoundLib
include-dirs: /Library/Frameworks/CsoundLib.framework/Headers
else
if flag(useDouble)
extra-libraries: csound64
else
extra-libraries: csound32
if flag(splitBase)
build-depends: base >= 3, base < 5
else
build-depends: base < 3