X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=Lucu.cabal;h=f709ab9e5a50adbcd5c2bcf7c35945fd630b70b5;hb=1548d9a47dece6dbdcc8a13fb98c1f53a4313ee6;hp=5006ea4f097adf15b157cffaf73dba3478c45c9a;hpb=e0fbd70ccc0690e5f5723db87fdd2bab371a33f2;p=Lucu.git diff --git a/Lucu.cabal b/Lucu.cabal index 5006ea4..f709ab9 100644 --- a/Lucu.cabal +++ b/Lucu.cabal @@ -13,14 +13,29 @@ License: PublicDomain Author: PHO Maintainer: PHO Stability: experimental -Homepage: http://ccm.sherry.jp/lucu/ +Homepage: http://cielonegro.org/Lucu.html Category: Network -Tested-With: GHC == 6.6.1 -Build-Depends: - base, mtl, network, stm, hxt, haskell-src, unix, zlib, Crypto -Exposed-Modules: +Tested-With: GHC == 6.8.1 +Cabal-Version: >= 1.2 + +Extra-Source-Files: + data/CompileMimeTypes.hs + data/mime.types + examples/HelloWorld.hs + examples/Makefile + +Flag build-lucu-implant-file + Description: Build the lucu-implant-file program. + Default: True + +Library + Build-Depends: + HsOpenSSL, base, bytestring, containers, dataenc, directory, + haskell-src, hxt, mtl, network, stm, time, unix, zlib + Exposed-Modules: Network.HTTP.Lucu Network.HTTP.Lucu.Abortion + Network.HTTP.Lucu.Authorization Network.HTTP.Lucu.Config Network.HTTP.Lucu.ETag Network.HTTP.Lucu.HttpVersion @@ -37,39 +52,36 @@ Exposed-Modules: Network.HTTP.Lucu.Response Network.HTTP.Lucu.StaticFile Network.HTTP.Lucu.Utils -Other-Modules: + 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 -Extra-Source-Files: - data/CompileMimeTypes.hs - data/mime.types - examples/HelloWorld.hs - examples/Makefile -ghc-options: - -fglasgow-exts - -fwarn-missing-signatures - -fwarn-unused-imports + ghc-options: + -Wall + -XDeriveDataTypeable + -XUnboxedTuples -funbox-strict-fields - -O3 -Executable: lucu-implant-file -Main-Is: ImplantFile.hs -ghc-options: - -fglasgow-exts - -fwarn-missing-signatures - -fwarn-unused-imports +Executable lucu-implant-file + if flag(build-lucu-implant-file) + Buildable: True + else + Buildable: False + Main-Is: ImplantFile.hs + ghc-options: + -Wall + -XUnboxedTuples -funbox-strict-fields - -O3 ---Executable: HelloWorld ---Main-Is: HelloWorld.hs ---Hs-Source-Dirs: ., examples ---ghc-options: -fglasgow-exts -fwarn-missing-signatures -fwarn-unused-imports -funbox-strict-fields -O3 -prof -auto-all +--Executable HelloWorld +-- Main-Is: HelloWorld.hs +-- Hs-Source-Dirs: ., examples +-- ghc-options: -fglasgow-exts -Wall -funbox-strict-fields -O3 -prof -auto-all