X-Git-Url: http://git.cielonegro.org/gitweb.cgi?a=blobdiff_plain;f=Lucu.cabal;h=a20a1b5a40c8442ed2c21453fd363e6149f3939a;hb=dfbf241202237b5b4033dbf781de5e10e0f919eb;hp=ae858fb60dadeab0b017c6d430ee9466cc1f9527;hpb=3d017dd65ddede9a11c5b7a34a91e04340e67bc4;p=Lucu.git diff --git a/Lucu.cabal b/Lucu.cabal index ae858fb..a20a1b5 100644 --- a/Lucu.cabal +++ b/Lucu.cabal @@ -7,21 +7,39 @@ Description: 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. + client filtering or such like. Version: 0.1 License: PublicDomain -Author: PHO -Maintainer: PHO +License-File: COPYING +Author: PHO +Maintainer: PHO Stability: experimental -Homepage: http://ccm.sherry.jp/Lucu/ +Homepage: http://cielonegro.org/Lucu.html Category: Network Tested-With: GHC == 6.8.1 -Build-Depends: - Crypto, base, bytestring, containers, directory, haskell-src, - hxt, mtl, network, stm, time, unix, zlib -Exposed-Modules: +Cabal-Version: >= 1.2 +Build-Type: Simple + +Extra-Source-Files: + ImplantFile.hs + NEWS + 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 @@ -38,7 +56,7 @@ 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 @@ -50,26 +68,25 @@ Other-Modules: 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 + Extensions: + DeriveDataTypeable, UnboxedTuples + ghc-options: -Wall -funbox-strict-fields - -Executable: lucu-implant-file -Main-Is: ImplantFile.hs -ghc-options: - -fglasgow-exts +Executable lucu-implant-file + if flag(build-lucu-implant-file) + Buildable: True + else + Buildable: False + Main-Is: ImplantFile.hs + Extensions: + UnboxedTuples + ghc-options: -Wall -funbox-strict-fields - ---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