File: cgi.cabal

package info (click to toggle)
haskell-cgi 3001.1.5.1-5
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 136 kB
  • ctags: 9
  • sloc: haskell: 849; makefile: 79; sh: 43
file content (51 lines) | stat: -rw-r--r-- 1,234 bytes parent folder | download
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
Name: cgi
Version: 3001.1.5.1
Copyright: Bjorn Bringert, Andy Gill, Ian Lynagh, Erik Meijer, 
           Sven Panne, Jeremy Shaw
Maintainer: bjorn@bringert.net
Author: Bjorn Bringert
License: BSD3
License-file: LICENSE
Synopsis: A library for writing CGI programs
Description:
 This is a Haskell library for writing CGI programs. 
Build-Type: Simple
Cabal-Version: >=1.2

Flag split-base
Flag bytestring-in-base

Library
  Exposed-Modules:
    Network.CGI,
    Network.CGI.Monad,
    Network.CGI.Protocol,
    Network.CGI.Cookie
  Other-modules:
    Network.CGI.Multipart,
    Network.CGI.RFC822Headers
  Extensions: MultiParamTypeClasses
  ghc-options: -Wall

  Build-depends: network>=2.0, parsec >= 2.0, mtl >= 1.0, xhtml >= 3000.0.0
  If flag(split-base)
    Build-depends: base >= 3, old-time, old-locale, containers
  Else
    Build-depends: base < 3
  If flag(bytestring-in-base)
    Build-depends: base >= 2 && < 3
  Else
    Build-depends: base < 2 || >= 3, bytestring

--Executable:     printinput
--Main-Is:        printinput.hs
--Hs-Source-Dir:  examples

--Executable:     redirect
--Main-Is:        redirect.hs
--Hs-Source-Dir:  examples

--Executable:     upload
--Main-Is:        upload.hs
--Hs-Source-Dir:  examples