]> gitweb @ CieloNegro.org - Lucu.git/blobdiff - Lucu.cabal
fix for interface change of Codec.Binary.Base64
[Lucu.git] / Lucu.cabal
index 1d07b7f9726df5bcf6cf36dae5fb203eecbd8b49..0e307776b489327569b744815af1a60f9d01306e 100644 (file)
@@ -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
+        Crypto, 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