]> gitweb @ CieloNegro.org - Lucu.git/blob - Lucu.cabal
ditz issue
[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         strict                     == 0.3.*,
67         stringsearch               == 0.3.*,
68         text                       == 0.11.*,
69         text-icu                   == 0.6.*,
70         time                       == 1.2.*,
71         time-http                  == 0.2.*,
72         transformers               == 0.2.*,
73         unix                       == 2.4.*
74
75     Exposed-Modules:
76         Network.HTTP.Lucu
77         Network.HTTP.Lucu.Abortion
78         Network.HTTP.Lucu.Authentication
79         Network.HTTP.Lucu.Config
80         Network.HTTP.Lucu.ETag
81         Network.HTTP.Lucu.HttpVersion
82         Network.HTTP.Lucu.Httpd
83         Network.HTTP.Lucu.MIMEType
84         Network.HTTP.Lucu.MIMEType.DefaultExtensionMap
85         Network.HTTP.Lucu.MIMEType.Guess
86         Network.HTTP.Lucu.Parser.Http
87         Network.HTTP.Lucu.Parser
88         Network.HTTP.Lucu.RFC2231
89         Network.HTTP.Lucu.Request
90         Network.HTTP.Lucu.Resource
91         Network.HTTP.Lucu.Resource.Tree
92         Network.HTTP.Lucu.Response
93         Network.HTTP.Lucu.StaticFile
94         Network.HTTP.Lucu.Utils
95
96     Other-Modules:
97         Network.HTTP.Lucu.Abortion.Internal
98         Network.HTTP.Lucu.Chunk
99         Network.HTTP.Lucu.ContentCoding
100         Network.HTTP.Lucu.DefaultPage
101         Network.HTTP.Lucu.HandleLike
102         Network.HTTP.Lucu.Headers
103         Network.HTTP.Lucu.Interaction
104         Network.HTTP.Lucu.MultipartForm
105         Network.HTTP.Lucu.Postprocess
106         Network.HTTP.Lucu.Preprocess
107         Network.HTTP.Lucu.RequestReader
108         Network.HTTP.Lucu.Resource.Internal
109         Network.HTTP.Lucu.ResponseWriter
110         Network.HTTP.Lucu.SocketLike
111
112     ghc-options:
113         -Wall
114
115 Executable lucu-implant-file
116     if flag(build-lucu-implant-file)
117         Buildable: True
118     else
119         Buildable: False
120
121     Main-Is: ImplantFile.hs
122
123     Build-Depends:
124         SHA  == 1.5.*,
125         zlib == 0.5.*
126
127     ghc-options:
128         -Wall
129
130 --Executable HelloWorld
131 --    Main-Is: HelloWorld.hs
132 --    Hs-Source-Dirs: ., examples
133 --    ghc-options: -fglasgow-exts -Wall -funbox-strict-fields -O3 -prof -auto-all
134
135 --Executable Multipart
136 --    Main-Is: Multipart.hs
137 --    Hs-Source-Dirs: ., examples
138 --    ghc-options: -XBangPatterns -fglasgow-exts -Wall -funbox-strict-fields -prof -auto-all