packages feed

gruff-examples-0.3.1: gruff-examples.cabal

Name:                gruff-examples
Version:             0.3.1
Synopsis:            Mandelbrot Set examples using ruff and gruff
Description:
  Some example scripts, including a converter from old versions of gruff
  file formats to the current file format.

License:             GPL-2
License-file:        LICENSE
Author:              Claude Heiland-Allen
Maintainer:          claudiusmaximus@goto10.org
Category:            Graphics

Build-type:          Simple
Cabal-version:       >=1.6

Flag mpfr
  description: use 'hmpfr' for higher precision floating point
  default: False

Executable gruff-convert
  Hs-source-dirs:     src
  Main-is:            gruff-convert.hs
  Other-modules:      Convert.Common
                      Convert.Gruff
                      Convert.Gruff1
                      Convert.Gruff2a
                      Convert.Gruff2
  Build-depends:      base >= 4 && < 5,
                      filepath,
                      ruff >= 0.3 && < 0.4,
                      gruff >= 0.3 && < 0.4
  GHC-options:        -Wall -threaded -rtsopts
  GHC-Prof-Options:   -prof -auto-all -caf-all

Executable gruff-labels
  Hs-source-dirs:     src
  Main-is:            gruff-labels.hs
  Build-depends:      base >= 4 && < 5,
                      containers,
                      gruff >= 0.3 && < 0.4,
                      ruff >= 0.3 && < 0.4
  GHC-options:        -Wall -threaded -rtsopts
  GHC-Prof-Options:   -prof -auto-all -caf-all

Executable gruff-octopus
  Hs-source-dirs:     src
  Main-is:            gruff-octopus.hs
  Other-modules:      Number
  Build-depends:      base >= 4 && < 5,
                      gruff >= 0.3 && < 0.4,
                      ruff >= 0.3 && < 0.4,
                      qd >= 1 && < 2,
                      qd-vec >= 1 && < 2,
                      Vec >= 0.9 && < 1.0
  if (flag(mpfr))
    Build-depends:    hmpfr >= 0.3.2 && < 0.4
    CPP-options:      -DHAVE_MPFR
    CC-options:       -DHAVE_MPFR
  GHC-options:        -Wall -threaded -rtsopts
  GHC-Prof-Options:   -prof -auto-all -caf-all

Executable gruff-patterns
  Hs-source-dirs:     src
  Main-is:            gruff-patterns.hs
  Other-modules:      Number
  Build-depends:      base >= 4 && < 5,
                      gruff >= 0.3 && < 0.4,
                      ruff >= 0.3 && < 0.4,
                      qd >= 1 && < 2,
                      qd-vec >= 1 && < 2,
                      Vec >= 0.9 && < 1.0
  if (flag(mpfr))
    Build-depends:    hmpfr >= 0.3.2 && < 0.4
    CPP-options:      -DHAVE_MPFR
    CC-options:       -DHAVE_MPFR
  GHC-options:        -Wall -threaded -rtsopts
  GHC-Prof-Options:   -prof -auto-all -caf-all

Executable gruff-randoms
  Hs-source-dirs:     src
  Main-is:            gruff-randoms.hs
  Other-modules:      Number
  Build-depends:      base >= 4 && < 5,
                      gruff >= 0.3 && < 0.4,
                      ruff >= 0.3 && < 0.4,
                      qd >= 1 && < 2,
                      qd-vec >= 1 && < 2,
                      Vec >= 0.9 && < 1.0,
                      random >= 1.0 && < 1.1
  if (flag(mpfr))
    Build-depends:    hmpfr >= 0.3.2 && < 0.4
    CPP-options:      -DHAVE_MPFR
    CC-options:       -DHAVE_MPFR
  GHC-options:        -Wall -threaded -rtsopts
  GHC-Prof-Options:   -prof -auto-all -caf-all

Executable gruff-whn
  Hs-source-dirs:     src
  Main-is:            gruff-whn.hs
  Other-modules:      Number
  Build-depends:      base >= 4 && < 5,
                      gruff >= 0.3 && < 0.4,
                      ruff >= 0.3 && < 0.4,
                      qd >= 1 && < 2,
                      qd-vec >= 1 && < 2,
                      Vec >= 0.9 && < 1.0,
                      data-memocombinators >= 0.4 && < 0.5
  if (flag(mpfr))
    Build-depends:    hmpfr >= 0.3.2 && < 0.4
    CPP-options:      -DHAVE_MPFR
    CC-options:       -DHAVE_MPFR
  GHC-options:        -Wall -threaded -rtsopts
  GHC-Prof-Options:   -prof -auto-all -caf-all

source-repository head
  type:     git
  location: git://gitorious.org/ruff/gruff-examples.git

source-repository this
  type:     git
  location: git://gitorious.org/ruff/gruff-examples.git
  tag:      v0.3.1