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