packages feed

FModExRaw-0.2.0.0: FModExRaw.cabal

-- Initial FModEx.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

-- The name of the package.
name:                FModExRaw

-- The package version.  See the Haskell package versioning policy (PVP) 
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary:      +-+------- breaking API changes
--                   | | +----- non-breaking API additions
--                   | | | +--- code changes with no API change
version:             0.2.0.0

-- A short (one-line) description of the package.
synopsis:            The Haskell FModEx raw API.

-- A longer description of the package.
description:         Haskell FModEx raw API. It’s a 1:1 Haskell binding over the famous C API.

-- URL for the project homepage or repository.
homepage:            https://github.com/skypers/hsFModEx

-- The license under which the package is released.
license:             GPL-3

-- The file containing the license text.
license-file:        LICENSE

-- The package author(s).
author:              DimitriSabadie

-- An email address to which users can send suggestions, bug reports, and 
-- patches.
maintainer:          dimitri.sabadie@gmail.com

-- A copyright notice.
-- copyright:           

category:            Sound

build-type:          Simple

-- Constraint on the version of Cabal needed to build this package.
cabal-version:       >=1.8

library
  -- Compilation line
  ghc-options:       -Wall
  -- Conditional compilation
  if os(linux)
    cpp-options:       -DFMODEX_PLATFORM_LINUX
  -- Extra libraries
  if arch(x86_64)
    extra-libraries:   fmodex64
  else
    extra-libraries:   fmodex
  -- Modules exported by the library.
  exposed-modules:     Sound.FModEx.Raw
                     , Sound.FModEx.Raw.Codec
                     , Sound.FModEx.Raw.Codec.Types
                     , Sound.FModEx.Raw.Core
                     , Sound.FModEx.Raw.Core.Functions
                     , Sound.FModEx.Raw.Core.Types
                     , Sound.FModEx.Raw.DSP
                     , Sound.FModEx.Raw.DSP.Types
                     , Sound.FModEx.Raw.Errors
                     , Sound.FModEx.Raw.Errors.Functions
                     , Sound.FModEx.Raw.Linux
                     , Sound.FModEx.Raw.Linux.Types
                     , Sound.FModEx.Raw.Memory
                     , Sound.FModEx.Raw.Memory.Types
                     , Sound.FModEx.Raw.Output
                     , Sound.FModEx.Raw.Output.Types
  
  -- Modules included in this library but not exported.
  -- other-modules:       
  
  -- Other library packages from which modules are imported.
  build-depends:       base >= 3 && < 5
  
  -- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
  build-tools:         hsc2hs