]> gitweb @ CieloNegro.org - Lucu.git/blob - Lucu.cabal
Use HsOpenSSL instead of Crypto
[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 and so on.
11 Version: 0.1
12 License: PublicDomain
13 Author: PHO <phonohawk at ps dot sakura dot ne dot jp>
14 Maintainer: PHO <phonohawk at ps dot sakura dot ne dot jp>
15 Stability: experimental
16 Homepage: http://cielonegro.org/Lucu
17 Category: Network
18 Tested-With: GHC == 6.8.1
19 Cabal-Version: >= 1.2
20
21 Extra-Source-Files:
22     data/CompileMimeTypes.hs
23     data/mime.types
24     examples/HelloWorld.hs
25     examples/Makefile
26
27 Flag build-lucu-implant-file
28     Description: Build the lucu-implant-file program.
29     Default:     True
30
31 Library
32     Build-Depends:
33         HsOpenSSL, base, bytestring, containers, dataenc, directory,
34         haskell-src, hxt, mtl, network, stm, time, unix, zlib
35     Exposed-Modules:
36         Network.HTTP.Lucu
37         Network.HTTP.Lucu.Abortion
38         Network.HTTP.Lucu.Authorization
39         Network.HTTP.Lucu.Config
40         Network.HTTP.Lucu.ETag
41         Network.HTTP.Lucu.HttpVersion
42         Network.HTTP.Lucu.Httpd
43         Network.HTTP.Lucu.MIMEType
44         Network.HTTP.Lucu.MIMEType.DefaultExtensionMap
45         Network.HTTP.Lucu.MIMEType.Guess
46         Network.HTTP.Lucu.Parser
47         Network.HTTP.Lucu.Parser.Http
48         Network.HTTP.Lucu.RFC1123DateTime
49         Network.HTTP.Lucu.Request
50         Network.HTTP.Lucu.Resource
51         Network.HTTP.Lucu.Resource.Tree
52         Network.HTTP.Lucu.Response
53         Network.HTTP.Lucu.StaticFile
54         Network.HTTP.Lucu.Utils
55     Other-Modules:
56         Network.HTTP.Lucu.Chunk
57         Network.HTTP.Lucu.ContentCoding
58         Network.HTTP.Lucu.DefaultPage
59         Network.HTTP.Lucu.Format
60         Network.HTTP.Lucu.Headers
61         Network.HTTP.Lucu.Interaction
62         Network.HTTP.Lucu.MultipartForm
63         Network.HTTP.Lucu.Postprocess
64         Network.HTTP.Lucu.Preprocess
65         Network.HTTP.Lucu.RequestReader
66         Network.HTTP.Lucu.ResponseWriter
67     ghc-options:
68         -Wall
69         -XDeriveDataTypeable
70         -XUnboxedTuples
71         -funbox-strict-fields
72
73 Executable lucu-implant-file
74     if flag(build-lucu-implant-file)
75         Buildable: True
76     else
77         Buildable: False
78     Main-Is: ImplantFile.hs
79     ghc-options:
80         -Wall
81         -XUnboxedTuples
82         -funbox-strict-fields
83
84 --Executable HelloWorld
85 --    Main-Is: HelloWorld.hs
86 --    Hs-Source-Dirs: ., examples
87 --    ghc-options: -fglasgow-exts -Wall -funbox-strict-fields -O3 -prof -auto-all