]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - Lucu.cabal
New cabal format
[Lucu.git] / Lucu.cabal
index da7ecca56ecfe9f293d6412d80bcc498f38d020a..1d07b7f9726df5bcf6cf36dae5fb203eecbd8b49 100644 (file)
@@ -1,23 +1,77 @@
 Name: Lucu
-Synopsis: HTTP Daemon Library
-Version: 0
+Synopsis: HTTP Daemonic Library
+Description:
+        Lucu is an HTTP daemonic library. It can be embedded in any
+        Haskell program and runs in an independent thread.
+        Lucu is not a replacement for Apache. It is intended to be
+        used to create an efficient web-based application without
+        messing around FastCGI. It is also intended to be run behind a
+        reverse-proxy so it doesn't have some facilities like logging,
+        client filtering and so on.
+Version: 0.1
 License: PublicDomain
-Author: PHO
-Homepage: http://ccm.sherry.jp/
-Category: Incomplete
-Build-Depends:
-         base, mtl, network, stm, parsec, hxt
-Exposed-Modules:
+Author: PHO <phonohawk at ps dot sakura dot ne dot jp>
+Maintainer: PHO <phonohawk at ps dot sakura dot ne dot jp>
+Stability: experimental
+Homepage: http://ccm.sherry.jp/Lucu/
+Category: Network
+Tested-With: GHC == 6.8.1
+Cabal-Version: >= 1.2
+
+Extra-Source-Files:
+    data/CompileMimeTypes.hs
+    data/mime.types
+    examples/HelloWorld.hs
+    examples/Makefile
+
+Library
+    Build-Depends:
+        Crypto, base, bytestring, containers, directory, haskell-src,
+        hxt, mtl, network, stm, time, unix, zlib
+    Exposed-Modules:
+        Network.HTTP.Lucu
+        Network.HTTP.Lucu.Abortion
         Network.HTTP.Lucu.Config
-        Network.HTTP.Lucu.Headers
-        Network.HTTP.Lucu.Httpd
+        Network.HTTP.Lucu.ETag
         Network.HTTP.Lucu.HttpVersion
-        Network.HTTP.Lucu.Response
-        Network.HTTP.Lucu.Resource
+        Network.HTTP.Lucu.Httpd
+        Network.HTTP.Lucu.MIMEType
+        Network.HTTP.Lucu.MIMEType.DefaultExtensionMap
+        Network.HTTP.Lucu.MIMEType.Guess
+        Network.HTTP.Lucu.Parser
+        Network.HTTP.Lucu.Parser.Http
+        Network.HTTP.Lucu.RFC1123DateTime
         Network.HTTP.Lucu.Request
-ghc-options: -threaded -fglasgow-exts
+        Network.HTTP.Lucu.Resource
+        Network.HTTP.Lucu.Resource.Tree
+        Network.HTTP.Lucu.Response
+        Network.HTTP.Lucu.StaticFile
+        Network.HTTP.Lucu.Utils
+    Other-Modules:
+        Network.HTTP.Lucu.Chunk
+        Network.HTTP.Lucu.ContentCoding
+        Network.HTTP.Lucu.DefaultPage
+        Network.HTTP.Lucu.Format
+        Network.HTTP.Lucu.Headers
+        Network.HTTP.Lucu.Interaction
+        Network.HTTP.Lucu.MultipartForm
+        Network.HTTP.Lucu.Postprocess
+        Network.HTTP.Lucu.Preprocess
+        Network.HTTP.Lucu.RequestReader
+        Network.HTTP.Lucu.ResponseWriter
+    ghc-options:
+        -fglasgow-exts
+        -Wall
+        -funbox-strict-fields
+
+Executable lucu-implant-file
+    Main-Is: ImplantFile.hs
+    ghc-options:
+        -fglasgow-exts
+        -Wall
+        -funbox-strict-fields
 
-Executable: HelloWorld
-Main-Is: HelloWorld.hs
-Hs-Source-Dirs: ., examples
-ghc-options: -threaded -fglasgow-exts
\ No newline at end of file
+--Executable HelloWorld
+--    Main-Is: HelloWorld.hs
+--    Hs-Source-Dirs: ., examples
+--    ghc-options: -fglasgow-exts -Wall -funbox-strict-fields -O3 -prof -auto-all