]> gitweb @ CieloNegro.org - Lucu.git/blob - Lucu.cabal
MIMEType.Guess
[Lucu.git] / Lucu.cabal
1 Name: Lucu
2 Synopsis: HTTP Daemonic Library
3 Description:
4         Lucu is an HTTP daemonic library. It can be embedded in any
5         Haskell program and runs in an independent thread.  Lucu is
6         not a replacement for Apache or lighttpd. It is intended to be
7         used to create an efficient web-based RESTful application
8         without messing around FastCGI. It is also intended to be run
9         behind a reverse-proxy so it doesn't have some facilities like
10         logging, client filtering or such like.
11 Version: 0.7.0.2
12 License: PublicDomain
13 License-File: COPYING
14 Author: PHO <pho at cielonegro dot org>
15 Maintainer: PHO <pho at cielonegro dot org>
16 Stability: experimental
17 Homepage: http://cielonegro.org/Lucu.html
18 Bug-Reports: http://static.cielonegro.org/ditz/Lucu/
19 Category: Network
20 Tested-With: GHC == 7.0.3
21 Cabal-Version: >= 1.6
22 Build-Type: Simple
23 Extra-Source-Files:
24     ImplantFile.hs
25     NEWS
26     data/CompileMimeTypes.hs
27     data/Makefile
28     data/mime.types
29     examples/HelloWorld.hs
30     examples/Implanted.hs
31     examples/ImplantedSmall.hs
32     examples/Makefile
33     examples/Multipart.hs
34     examples/SSL.hs
35     examples/mise-rafturai.html
36     examples/small-file.txt
37
38 Source-Repository head
39     Type: git
40     Location: git://git.cielonegro.org/Lucu.git
41
42 Flag build-lucu-implant-file
43     Description: Build the lucu-implant-file program.
44     Default:     True
45
46 Library
47     Build-Depends:
48         HsOpenSSL            == 0.10.*,
49         ascii                == 0.0.*,
50         attoparsec           == 0.9.*,
51         base                 == 4.3.*,
52         base-unicode-symbols == 0.2.*,
53         base64-bytestring    == 0.1.*,
54         bytestring           == 0.9.*,
55         containers           == 0.4.*,
56         filepath             == 1.2.*,
57         directory            == 1.1.*,
58         haskell-src          == 1.0.*,
59         hxt                  == 9.1.*,
60         mtl                  == 2.0.*,
61         network              == 2.3.*,
62         stm                  == 2.2.*,
63         text                 == 0.11.*,
64         time                 == 1.2.*,
65         time-http            == 0.1.*,
66         unix                 == 2.4.*,
67         zlib                 == 0.5.*
68
69     Exposed-Modules:
70         Network.HTTP.Lucu
71         Network.HTTP.Lucu.Abortion
72         Network.HTTP.Lucu.Authorization
73         Network.HTTP.Lucu.Config
74         Network.HTTP.Lucu.ETag
75         Network.HTTP.Lucu.HttpVersion
76         Network.HTTP.Lucu.Httpd
77         Network.HTTP.Lucu.MIMEType
78         Network.HTTP.Lucu.MIMEType.DefaultExtensionMap
79         Network.HTTP.Lucu.MIMEType.Guess
80         Network.HTTP.Lucu.Parser.Http
81         Network.HTTP.Lucu.Request
82         Network.HTTP.Lucu.Resource
83         Network.HTTP.Lucu.Resource.Tree
84         Network.HTTP.Lucu.Response
85         Network.HTTP.Lucu.StaticFile
86         Network.HTTP.Lucu.Utils
87
88     Other-Modules:
89         Network.HTTP.Lucu.Chunk
90         Network.HTTP.Lucu.ContentCoding
91         Network.HTTP.Lucu.DefaultPage
92         Network.HTTP.Lucu.Format
93         Network.HTTP.Lucu.HandleLike
94         Network.HTTP.Lucu.Headers
95         Network.HTTP.Lucu.Interaction
96         Network.HTTP.Lucu.MultipartForm
97         Network.HTTP.Lucu.Postprocess
98         Network.HTTP.Lucu.Preprocess
99         Network.HTTP.Lucu.RequestReader
100         Network.HTTP.Lucu.ResponseWriter
101         Network.HTTP.Lucu.SocketLike
102
103     ghc-options:
104         -Wall
105         -funbox-strict-fields
106
107 Executable lucu-implant-file
108     if flag(build-lucu-implant-file)
109         Buildable: True
110     else
111         Buildable: False
112
113     Main-Is: ImplantFile.hs
114
115     ghc-options:
116         -Wall
117         -funbox-strict-fields
118
119 --Executable HelloWorld
120 --    Main-Is: HelloWorld.hs
121 --    Hs-Source-Dirs: ., examples
122 --    ghc-options: -fglasgow-exts -Wall -funbox-strict-fields -O3 -prof -auto-all
123
124 --Executable Multipart
125 --    Main-Is: Multipart.hs
126 --    Hs-Source-Dirs: ., examples
127 --    ghc-options: -XBangPatterns -fglasgow-exts -Wall -funbox-strict-fields -prof -auto-all