]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - Lucu.cabal
Slight cabal change
[Lucu.git] / Lucu.cabal
index 1d07b7f9726df5bcf6cf36dae5fb203eecbd8b49..f709ab9e5a50adbcd5c2bcf7c35945fd630b70b5 100644 (file)
@@ -13,7 +13,7 @@ License: PublicDomain
 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/
+Homepage: http://cielonegro.org/Lucu.html
 Category: Network
 Tested-With: GHC == 6.8.1
 Cabal-Version: >= 1.2
@@ -24,13 +24,18 @@ Extra-Source-Files:
     examples/HelloWorld.hs
     examples/Makefile
 
+Flag build-lucu-implant-file
+    Description: Build the lucu-implant-file program.
+    Default:     True
+
 Library
     Build-Depends:
-        Crypto, base, bytestring, containers, directory, haskell-src,
-        hxt, mtl, network, stm, time, unix, zlib
+        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
@@ -60,15 +65,20 @@ Library
         Network.HTTP.Lucu.RequestReader
         Network.HTTP.Lucu.ResponseWriter
     ghc-options:
-        -fglasgow-exts
         -Wall
+        -XDeriveDataTypeable
+        -XUnboxedTuples
         -funbox-strict-fields
 
 Executable lucu-implant-file
+    if flag(build-lucu-implant-file)
+        Buildable: True
+    else
+        Buildable: False
     Main-Is: ImplantFile.hs
     ghc-options:
-        -fglasgow-exts
         -Wall
+        -XUnboxedTuples
         -funbox-strict-fields
 
 --Executable HelloWorld