packages feed

AGI-1.2.2: AGI.cabal

Name:           AGI
Category:       Network
Synopsis:       A library for writing AGI scripts for Asterisk
Description:
     Asterisk is an open-source Voice over IP server (VoIP).
     Asterisk provides an Asterisk Gateway Interface (AGI), which
     can be used to write external programs that interact with
     Asterisk. It is typically used for creating Interactive Voice
     Response (IVR) systems. 
Version:        1.2.2
License:        BSD3
License-File:   LICENSE
Author:         Jeremy Shaw
Maintainer:     Jeremy Shaw <jeremy@n-heptane.com>
Homepage:       http://www.n-heptane.com/nhlab/repos/haskell-agi
Extra-Source-Files:
        debian/changelog  debian/compat  debian/control  debian/copyright  
        debian/haskell-agi-doc.postinst debian/haskell-agi-doc.postrm debian/rules
        examples/guessinggame/GuessingGame.hs
        examples/guessinggame/sounds/guessing-game-correct.gsm
        examples/guessinggame/sounds/guessing-game-intro.gsm
        examples/guessinggame/sounds/guessing-game-yay.gsm
        examples/guessinggame/sounds/guessing-game-higher.gsm
        examples/guessinggame/sounds/guessing-game-lower.gsm
        tests/Main.hs
build-type:     Simple
cabal-version:       >= 1.2

flag small_base
  description: Choose the new smaller, split-up base package.

library
    build-depends:  parsec, mtl

    if flag(small_base)
        build-depends:  base >= 3, random, unix, network
    else
        build-depends:  base <  3, network

    Exposed-modules:
            Network.AGI 

    -- For more complex build options see:
    -- http://www.haskell.org/ghc/docs/latest/html/Cabal/