fix syntax errors and missing depends, add more info
[maximus:mandulia.git] / mandulia.cabal
1 Name:                mandulia
2 Version:             0.4
3 Stability:           Provisional
4 Synopsis:            A zooming visualisation of the Mandelbrot Set as many Julia Sets.
5 Description:         Mandulia provides a zooming visualisation of the Mandelbrot Set
6                      as many Julia Sets.  Featuring a profiled and optimized renderer,
7                      and a Lua configuration and scripting interface.
8 Homepage:            http://gitorious.org/maximus/mandulia
9 License:             GPL-3
10 License-file:        COPYING
11 Author:              Claude Heiland-Allen
12 Maintainer:          claudiusmaximus@goto10.org
13 Copyright:           (C) 2010  Claude Heiland-Allen <claudiusmaximus@goto10.org>
14 Category:            Graphics
15 Build-type:          Simple
16 Cabal-version:       >=1.2
17 Extra-source-files:  README
18                      *.h
19 Data-dir:            config
20 Data-files:          *.lua
21
22 Flag SSE4
23   Description:         Enable optimizations for SSE4 CPUs.
24   Default:             True
25
26 Executable mandulia
27   Build-depends:       base == 4.*, array == 0.3.*, bytestring == 0.9.*, containers == 0.3.*, time == 1.*, GLUT == 2.2.*, hslua >= 0.2
28   Build-tools:         hsc2hs
29   Extensions:          ForeignFunctionInterface
30   if  flag(SSE4) && impl(ghc)
31     GHC-options:         -Wall -O3 -threaded -fvia-c -funbox-strict-fields -optc-O3 -optc-march=native -optc-ffast-math -optc-msse4
32     GHC-prof-options:    -Wall -O3 -threaded -fvia-c -funbox-strict-fields -optc-O3 -optc-march=native -optc-ffast-math -optc-msse4 -prof -auto-all
33     CC-options:          -std=c99 -Wall -pedantic -O3 -march=native -ffast-math -msse4
34   if !flag(SSE4) && impl(ghc)
35     GHC-options:         -Wall -O3 -threaded -fvia-c -funbox-strict-fields -optc-O3 -optc-march=native -optc-ffast-math
36     GHC-prof-options:    -Wall -O3 -threaded -fvia-c -funbox-strict-fields -optc-O3 -optc-march=native -optc-ffast-math -prof -auto-all
37     CC-options:          -std=c99 -Wall -pedantic -O3 -march=native -ffast-math
38   HS-source-dirs:      src
39   Main-is:             Mandulia.hs
40   Other-modules:       AmmannA3
41                        Bounds
42                        Image
43                        Interface
44                        JobQueue
45                        Julia
46                        Mandulia
47                        PriorityCache
48                        ResourcePool
49                        Snapshot
50                        Sort
51                        StatsLogger
52                        TextureCache
53                        Utils
54                        Vector
55   C-sources:           src/julia.c
56                        src/sort.c
57   Include-dirs:        src
58   Includes:            julia.h
59                        sort.h
60   Source-repository head
61     type:                git
62     location:            git://gitorious.org/maximus/mandulia.git
63   Source-repository this
64     type:                git
65     location:            git://gitorious.org/maximus/mandulia.git
66     tag:                 v0.4