packages feed

haskanoid-0.1.2: haskanoid.cabal

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

-- The name of the package.
name:                haskanoid

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

-- A short (one-line) description of the package.
synopsis:            A breakout game written in Yampa using SDL

-- A longer description of the package.
description:         An arkanoid game featuring SDL graphics and sound and
                     Wiimote support, implemented using Yampa. 

-- URL for the project homepage or repository.
homepage:            http://github.com/ivanperez-keera/haskanoid

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

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

-- The package author(s).
author:              Ivan Perez and Henrik Nilsson

-- An email address to which users can send suggestions, bug reports, and 
-- patches.
maintainer:          ivan.perez@keera.co.uk

-- A copyright notice.
-- copyright:           

category:            Game

build-type:          Simple

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

data-files: data/*.png data/*.wav data/*.mp3


executable haskanoid
  -- .hs or .lhs file containing the Main module.
  main-is: Main.hs

  ghc-options: -Wall -threaded

  hs-source-dirs: src/

  -- Modules included in this executable, other than Main.
  other-modules: Audio
                 Constants
                 Control.Extra.Monad
                 Data.Extra.List
                 Data.Extra.Num
                 Data.Extra.Ord
                 Data.Extra.VectorSpace
                 Data.IdentityList
                 Display
                 FRP.Extra.Yampa
                 Game
                 GameCollisions
                 GameState
                 Graphics.UI.Extra.SDL
                 Input
                 Levels
                 Objects
                 ObjectSF
                 Physics.TwoDimensions.Collisions
                 Physics.TwoDimensions.Dimensions
                 Physics.TwoDimensions.Physics
                 Resources
  
  -- Other library packages from which modules are imported.
  build-depends:       base ==4.6.*,
                       transformers >= 0.3 && < 0.5,
                       mtl,
                       MissingH,
                       Yampa >= 0.9.6 && < 0.10,
                       hcwiid, 
                       SDL, SDL-image, SDL-mixer, SDL-ttf,
                       IfElse