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

-- The name of the package.
name:                riff

-- 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.3.0.0

-- A short (one-line) description of the package.
synopsis:            RIFF parser for Haskell

-- A longer description of the package.
description:         This library provides a RIFF parser for Haskell for easy manipulation
                     of common file formats like WAVE and RIFF container AVI files.

stability:           experimental

homepage:            https://bitbucket.org/robertmassaioli/riff/overview

bug-reports:         http://bitbucket.org/robertmassaioli/riff/issues

-- The license under which the package is released.
license:             MIT

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

-- The package author(s).
author:              Robert Massaioli

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

-- A copyright notice.
copyright:           (c) 2014 Robert Massaioli         

category:            Data

build-type:          Simple

-- Extra files to be distributed with the package, such as examples or a 
-- README.
extra-source-files:  LICENSE, README.markdown

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

-- The source repository that this comes from.
source-repository head
  type: git
  location: git://bitbucket.org/robertmassaioli/riff.git

library
  -- Modules exported by the library.
  exposed-modules:     Data.Riff
                       , Data.Riff.Operations
  
  -- Modules included in this library but not exported.
  other-modules:       Data.Riff.InternalUtil
                       , Data.Riff.RiffData
                       , Data.Riff.Parse
                       , Data.Riff.Assemble
  
  -- LANGUAGE extensions used by modules in this package.
  -- other-extensions:    
  
  -- Other library packages from which modules are imported.
  build-depends:       base >=4.5 && <5.0
                       , binary >=0.7 && <0.8
                       , bytestring >=0.9 && <1.0
                       , either >=4.1 && <4.2
                       , transformers >=0.3.0 && <0.3.1
  
  -- Directories containing source files.
  -- hs-source-dirs:      
  
  -- Base language which the package is written in.
  default-language:    Haskell2010

  ghc-options: -W
  

executable riff-structure
  hs-source-dirs: src
  main-is:        riff-structure.hs
  build-depends:       base >=4.5 && <5.0
                       , bytestring >=0.9 && <1.0
                       , riff
  default-language:    Haskell2010

executable riff-identity
  hs-source-dirs: src
  main-is:        riff-identity.hs
  build-depends:       base >=4.5 && <5.0
                       , riff
  default-language:    Haskell2010

executable riff-convert
  hs-source-dirs: src
  main-is:        riff-convert.hs
  build-depends:       base >=4.5 && <5.0
                       , filepath >=1.3 && <1.4
                       , riff
  default-language:    Haskell2010