/
LambdaHack.cabal
62 lines (58 loc) · 2.21 KB
/
LambdaHack.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
cabal-version: >= 1.2
name: LambdaHack
version: 0.1.20110117
license: BSD3
license-file: LICENSE
data-files: LICENSE, CREDITS, DESIGN.markdown, PLAYING.markdown,
README.markdown, src/LambdaHack.config.default
author: Andres Loeh <mail@andres-loeh.de>
maintainer: Andres Loeh <mail@andres-loeh.de>
description: a small roguelike game
synopsis: a small roguelike game
homepage: http://github.com/kosmikus/LambdaHack
category: Game
build-type: Simple
flag curses
description: enable curses support
default: False
flag vty
description: enable vty support
default: False
executable LambdaHack
main-is: LambdaHack.hs
hs-source-dirs:src
other-modules: Action, Actions, Command, Config, ConfigDefault,
Display, Display2, Dungeon, File,
FOV, FOV.Common, FOV.Digital, FOV.Permissive, FOV.Shadow,
Frequency, Geometry, Grammar,
HeroState, HighScores, Item, ItemState,
Keys, Keybindings, LambdaHack, Level, LevelState,
Message, Monster, MonsterState, Movable, MovableState,
Multiline, Perception, Random,
Save, State, Strategy, StrategyState,
Turn, Version
build-depends: base >= 4 && <5, containers >= 0.1 && < 1,
binary >= 0.4 && < 1,
random >= 1 && < 2, zlib >= 0.4 && < 1,
bytestring >= 0.9 && < 1, directory >= 1 && < 2,
mtl >= 1.1 && < 3, old-time, ConfigFile >= 1.0.6 && < 2,
MissingH >= 1.1.0.3 && < 1.2, filepath >= 1.1.0.3 && < 1.2,
template-haskell >= 2.5
extensions: CPP, FlexibleContexts, QuasiQuotes
if flag(curses) {
other-modules: Display.Curses
build-depends: hscurses >= 1.3 && < 2
cpp-options: -DCURSES
extra-libraries: curses
} else { if flag(vty) {
other-modules: Display.Vty
build-depends: vty >= 4.4
} else {
other-modules: Display.Gtk
build-depends: gtk >= 0.11 && < 0.13
cpp-options: -DGTK
ghc-options: -threaded
} }
Source-repository head
type: git
location: git://github.com/kosmikus/LambdaHack.git