]> gitweb @ CieloNegro.org - Lucu.git/blob - Lucu.cabal
Code clean-up (and close ditz/lucu-1)
[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.
6         Lucu is not a replacement for Apache. It is intended to be
7         used to create an efficient web-based application without
8         messing around FastCGI. It is also intended to be run behind a
9         reverse-proxy so it doesn't have some facilities like logging,
10         client filtering or such like.
11 Version: 0.4.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 Category: Network
19 Tested-With: GHC == 6.12.1
20 Cabal-Version: >= 1.6
21 Build-Type: Simple
22 Extra-Source-Files:
23     ImplantFile.hs
24     NEWS
25     data/CompileMimeTypes.hs
26     data/mime.types
27     examples/HelloWorld.hs
28     examples/Implanted.hs
29     examples/ImplantedSmall.hs
30     examples/Makefile
31     examples/Multipart.hs
32     examples/SSL.hs
33     examples/mise-rafturai.html
34     examples/small-file.txt
35
36 Source-Repository head
37     Type: darcs
38     Location: http://darcs.cielonegro.org/Lucu/
39
40 Flag build-lucu-implant-file
41     Description: Build the lucu-implant-file program.
42     Default:     True
43
44 Library
45     Build-Depends:
46         HsOpenSSL, base >= 4 && < 5, bytestring, containers, dataenc,
47         filepath, directory, haskell-src, hxt, mtl, network, stm,
48         time, unix, zlib
49
50     Exposed-Modules:
51         Network.HTTP.Lucu
52         Network.HTTP.Lucu.Abortion
53         Network.HTTP.Lucu.Authorization
54         Network.HTTP.Lucu.Config
55         Network.HTTP.Lucu.ETag
56         Network.HTTP.Lucu.HttpVersion
57         Network.HTTP.Lucu.Httpd
58         Network.HTTP.Lucu.MIMEType
59         Network.HTTP.Lucu.MIMEType.DefaultExtensionMap
60         Network.HTTP.Lucu.MIMEType.Guess
61         Network.HTTP.Lucu.Parser
62         Network.HTTP.Lucu.Parser.Http
63         Network.HTTP.Lucu.RFC1123DateTime
64         Network.HTTP.Lucu.Request
65         Network.HTTP.Lucu.Resource
66         Network.HTTP.Lucu.Resource.Tree
67         Network.HTTP.Lucu.Response
68         Network.HTTP.Lucu.StaticFile
69         Network.HTTP.Lucu.Utils
70
71     Other-Modules:
72         Network.HTTP.Lucu.Chunk
73         Network.HTTP.Lucu.ContentCoding
74         Network.HTTP.Lucu.DefaultPage
75         Network.HTTP.Lucu.Format
76         Network.HTTP.Lucu.HandleLike
77         Network.HTTP.Lucu.Headers
78         Network.HTTP.Lucu.Interaction
79         Network.HTTP.Lucu.MultipartForm
80         Network.HTTP.Lucu.Postprocess
81         Network.HTTP.Lucu.Preprocess
82         Network.HTTP.Lucu.RequestReader
83         Network.HTTP.Lucu.ResponseWriter
84         Network.HTTP.Lucu.SocketLike
85
86     Extensions:
87         BangPatterns, DeriveDataTypeable, FlexibleContexts,
88         FlexibleInstances, ScopedTypeVariables, TypeFamilies,
89         UnboxedTuples
90
91     ghc-options:
92         -Wall
93         -funbox-strict-fields
94
95 Executable lucu-implant-file
96     if flag(build-lucu-implant-file)
97         Buildable: True
98     else
99         Buildable: False
100
101     Main-Is: ImplantFile.hs
102
103     Extensions:
104         BangPatterns, ScopedTypeVariables, UnboxedTuples
105
106     ghc-options:
107         -Wall
108         -funbox-strict-fields
109
110 --Executable HelloWorld
111 --    Main-Is: HelloWorld.hs
112 --    Hs-Source-Dirs: ., examples
113 --    ghc-options: -fglasgow-exts -Wall -funbox-strict-fields -O3 -prof -auto-all
114
115 --Executable Multipart
116 --    Main-Is: Multipart.hs
117 --    Hs-Source-Dirs: ., examples
118 --    ghc-options: -XBangPatterns -fglasgow-exts -Wall -funbox-strict-fields -prof -auto-all