]> gitweb @ CieloNegro.org - Lucu.git/blob - Lucu.cabal
ImplantFile.hs now compiles.
[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: 1.0
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.*,
52         base-unicode-symbols       == 0.2.*,
53         base64-bytestring          == 0.1.*,
54         blaze-builder              == 0.3.*,
55         blaze-textual              == 0.2.*,
56         bytestring                 == 0.9.*,
57         containers                 == 0.4.*,
58         containers-unicode-symbols == 0.3.*,
59         filepath                   == 1.2.*,
60         directory                  == 1.1.*,
61         haskell-src-exts           == 1.11.*,
62         hxt                        == 9.1.*,
63         mtl                        == 2.0.*,
64         network                    == 2.3.*,
65         stm                        == 2.2.*,
66         text                       == 0.11.*,
67         text-icu                   == 0.6.*,
68         time                       == 1.2.*,
69         time-http                  == 0.2.*,
70         unix                       == 2.4.*,
71         zlib                       == 0.5.*
72
73     Exposed-Modules:
74         Network.HTTP.Lucu
75         Network.HTTP.Lucu.Abortion
76         Network.HTTP.Lucu.Authorization
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.Parser.Http
85         Network.HTTP.Lucu.RFC2231
86         Network.HTTP.Lucu.Request
87         Network.HTTP.Lucu.Resource
88         Network.HTTP.Lucu.Resource.Tree
89         Network.HTTP.Lucu.Response
90         Network.HTTP.Lucu.StaticFile
91         Network.HTTP.Lucu.Utils
92
93     Other-Modules:
94         Network.HTTP.Lucu.Chunk
95         Network.HTTP.Lucu.ContentCoding
96         Network.HTTP.Lucu.DefaultPage
97         Network.HTTP.Lucu.HandleLike
98         Network.HTTP.Lucu.Headers
99         Network.HTTP.Lucu.Interaction
100         Network.HTTP.Lucu.MultipartForm
101         Network.HTTP.Lucu.Postprocess
102         Network.HTTP.Lucu.Preprocess
103         Network.HTTP.Lucu.RequestReader
104         Network.HTTP.Lucu.ResponseWriter
105         Network.HTTP.Lucu.SocketLike
106
107     ghc-options:
108         -Wall
109
110 Executable lucu-implant-file
111     if flag(build-lucu-implant-file)
112         Buildable: True
113     else
114         Buildable: False
115
116     Main-Is: ImplantFile.hs
117
118     Build-Depends:
119         SHA == 1.5.*
120
121     ghc-options:
122         -Wall
123
124 --Executable HelloWorld
125 --    Main-Is: HelloWorld.hs
126 --    Hs-Source-Dirs: ., examples
127 --    ghc-options: -fglasgow-exts -Wall -funbox-strict-fields -O3 -prof -auto-all
128
129 --Executable Multipart
130 --    Main-Is: Multipart.hs
131 --    Hs-Source-Dirs: ., examples
132 --    ghc-options: -XBangPatterns -fglasgow-exts -Wall -funbox-strict-fields -prof -auto-all