]> gitweb @ CieloNegro.org - Lucu.git/blob - Lucu.cabal
Yet Another Huge Changes
[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 or such like.
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         directory                  == 1.1.*,
62         haskell-src-exts           == 1.11.*,
63         hxt                        == 9.1.*,
64         mtl                        == 2.0.*,
65         network                    == 2.3.*,
66         stm                        == 2.2.*,
67         strict                     == 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.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.MultipartForm
104         Network.HTTP.Lucu.Postprocess
105         Network.HTTP.Lucu.Preprocess
106         Network.HTTP.Lucu.RequestReader
107         Network.HTTP.Lucu.Resource.Internal
108         Network.HTTP.Lucu.ResponseWriter
109         Network.HTTP.Lucu.SocketLike
110
111     ghc-options:
112         -Wall
113
114 Executable lucu-implant-file
115     if flag(build-lucu-implant-file)
116         Buildable: True
117     else
118         Buildable: False
119
120     Main-Is: ImplantFile.hs
121
122     Build-Depends:
123         SHA  == 1.5.*,
124         zlib == 0.5.*
125
126     ghc-options:
127         -Wall
128
129 --Executable HelloWorld
130 --    Main-Is: HelloWorld.hs
131 --    Hs-Source-Dirs: ., examples
132 --    ghc-options: -fglasgow-exts -Wall -funbox-strict-fields -O3 -prof -auto-all
133
134 --Executable Multipart
135 --    Main-Is: Multipart.hs
136 --    Hs-Source-Dirs: ., examples
137 --    ghc-options: -XBangPatterns -fglasgow-exts -Wall -funbox-strict-fields -prof -auto-all