LambdaHack-0.1.20080413: LambdaHack.cabal
cabal-version: >= 1.2
name: LambdaHack
version: 0.1.20080413
license: GPL
license-file: COPYING
data-files: README
author: Andres Loeh <mail@andres-loeh.de>
maintainer: Andres Loeh <mail@andres-loeh.de>
description: a small roguelike game
synopsis: a small roguelike game
category: Game
build-type: Simple
flag curses
description: enable curses support
default: False
flag gtk
description: enable gtk support
default: True
executable LambdaHack
main-is: LambdaHack.hs
other-modules: Actor, Display, Display2, Dungeon, File,
FOV, Frequency, Geometry, Item, LambdaHack,
Level, Message, Monster, Perception, Random,
Save, Setup, State, Strategy, Style, Turn,
Version
build-depends: base >= 3, containers >= 0.1, binary >= 0.4,
random >= 1, zlib >= 0.4, bytestring >= 0.9,
directory >= 1, mtl >= 1.1
extensions: CPP
if flag(curses) {
other-modules: Display.Curses
build-depends: hscurses >= 1.3
cpp-options: -DCURSES
extra-libraries: curses
} else { if flag(gtk) {
other-modules: Display.Gtk
build-depends: gtk >= 0.9.12
cpp-options: -DGTK
} else {
other-modules: Display.Vty
build-depends: vty >= 3
} }