packages feed

Yogurt-0.4: Yogurt.cabal

Name:           Yogurt
Version:        0.4
Synopsis:       A MUD client library
Description:   	Yogurt is a functional MUD client featuring prioritized, regex-based hooks, variables, timers, logging, dynamic loading of Yogurt scripts and more. For example programs, please see Yogurt's home page.
                .
                This package provides the library. To use Yogurt as a standalone executable and dynamically load and reload Yogurt scripts, please see package @Yogurt-Standalone@.
                .
                If you do not wish to install the readline-based command-line interface available in module @Network.Yogurt.Readline@, install using @cabal install Yogurt -f-readline@.


Author:         Martijn van Steenbergen
Maintainer:     martijn@van.steenbergen.nl
Stability:      Experimental
Copyright:      Some Rights Reserved (CC) 2008-2009 Martijn van Steenbergen
Homepage:       http://code.google.com/p/yogurt-mud/


Cabal-Version:  >= 1.2
License:        BSD3
License-file:   LICENSE
Category:       Network
Build-type:     Simple


Flag readline
  Description:  Enable the readline-based command-line interface.
  Default:      True


Library
  Exposed-Modules:  Network.Yogurt, Network.Yogurt.Mud, Network.Yogurt.Utils, Network.Yogurt.Session
  Other-Modules:    Network.Yogurt.Ansi, Paths_Yogurt
  Build-Depends:    mtl, regex-posix, containers, time, old-locale

  if impl(ghc >= 6.10)
    Build-Depends:  base >= 4, base < 5, syb
  else
    Build-Depends:  base >= 3, base < 4

  if flag(readline)
    Exposed-Modules:  Network.Yogurt.Readline
    Other-Modules:    Network.Yogurt.IO
    Build-Depends:    readline, process, network