]> gitweb @ CieloNegro.org - Lucu.git/blob - Lucu.cabal
Still working on RFC2231...
[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         containers-unicode-symbols == 0.3.*,
57         filepath                   == 1.2.*,
58         directory                  == 1.1.*,
59         haskell-src                == 1.0.*,
60         hxt                        == 9.1.*,
61         mtl                        == 2.0.*,
62         network                    == 2.3.*,
63         stm                        == 2.2.*,
64         text                       == 0.11.*,
65         text-icu                   == 0.6.*,
66         time                       == 1.2.*,
67         time-http                  == 0.1.*,
68         unix                       == 2.4.*,
69         zlib                       == 0.5.*
70
71     Exposed-Modules:
72         Network.HTTP.Lucu
73         Network.HTTP.Lucu.Abortion
74         Network.HTTP.Lucu.Authorization
75         Network.HTTP.Lucu.Config
76         Network.HTTP.Lucu.ETag
77         Network.HTTP.Lucu.HttpVersion
78         Network.HTTP.Lucu.Httpd
79         Network.HTTP.Lucu.MIMEType
80         Network.HTTP.Lucu.MIMEType.DefaultExtensionMap
81         Network.HTTP.Lucu.MIMEType.Guess
82         Network.HTTP.Lucu.Parser.Http
83         Network.HTTP.Lucu.RFC2231
84         Network.HTTP.Lucu.Request
85         Network.HTTP.Lucu.Resource
86         Network.HTTP.Lucu.Resource.Tree
87         Network.HTTP.Lucu.Response
88         Network.HTTP.Lucu.StaticFile
89         Network.HTTP.Lucu.Utils
90
91     Other-Modules:
92         Network.HTTP.Lucu.Chunk
93         Network.HTTP.Lucu.ContentCoding
94         Network.HTTP.Lucu.DefaultPage
95         Network.HTTP.Lucu.Format
96         Network.HTTP.Lucu.HandleLike
97         Network.HTTP.Lucu.Headers
98         Network.HTTP.Lucu.Interaction
99         Network.HTTP.Lucu.MultipartForm
100         Network.HTTP.Lucu.Postprocess
101         Network.HTTP.Lucu.Preprocess
102         Network.HTTP.Lucu.RequestReader
103         Network.HTTP.Lucu.ResponseWriter
104         Network.HTTP.Lucu.SocketLike
105
106     ghc-options:
107         -Wall
108         -funbox-strict-fields
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     ghc-options:
119         -Wall
120         -funbox-strict-fields
121
122 --Executable HelloWorld
123 --    Main-Is: HelloWorld.hs
124 --    Hs-Source-Dirs: ., examples
125 --    ghc-options: -fglasgow-exts -Wall -funbox-strict-fields -O3 -prof -auto-all
126
127 --Executable Multipart
128 --    Main-Is: Multipart.hs
129 --    Hs-Source-Dirs: ., examples
130 --    ghc-options: -XBangPatterns -fglasgow-exts -Wall -funbox-strict-fields -prof -auto-all