]> gitweb @ CieloNegro.org - Rakka.git/blobdiff - Rakka.cabal
Resurrection from slight bitrot.
[Rakka.git] / Rakka.cabal
index 20efd880f75917b498f033c4b886c68c9945de6e..3717efad7a9b646a29e1f7303fce60342e08348a 100644 (file)
@@ -1,8 +1,8 @@
 Name:          Rakka
-Synopsis:      Wiki engine with Subversion backend
+Synopsis:      RESTful Wiki engine with Subversion backend
 Description:
-    Rakka is a wiki engine with Subversion backend. Its syntax is
-    similar to MediaWiki.
+    Rakka is a RESTful wiki engine with Subversion backend. Its syntax
+    is similar to MediaWiki.
 Version:       0.1
 License:       PublicDomain
 Author:        PHO <pho at cielonegro dot org>
@@ -12,6 +12,7 @@ Homepage:      http://rakka.cielonegro.org/
 Category:      Web
 Tested-With:   GHC == 6.6.1
 Cabal-Version: >= 1.2
+Build-Type:    Custom
 
 Data-Files:
     defaultPages/Feed.xml
@@ -36,10 +37,12 @@ Extra-Source-Files:
     js/base.js
     js/base64.js
     js/editPage.js
+    js/hexDump.js
     js/jquery-1.2.2.js
     js/jquery-dom.js
     js/localFile.js
     js/login.js
+    js/parseuri.js
     js/screen.js
     js/search.js
     js/uri.js
@@ -50,20 +53,12 @@ Flag build-test-suite
     Description: Build the test suite.
     Default:     False
 
-Flag enable-profiling
-    Description: Enable profiling of the executable
-    Default:     False
-
-Flag hardest-optimization
-    Description: Make the executable as fast as possible
-    Default:     False
-
 Executable rakka
     Build-Depends:
         FileManip, HTTP, HUnit, HsHyperEstraier, HsOpenSSL, HsSVN >=
         0.3.2, Lucu, base, bytestring, containers, dataenc, directory,
-        utf8-string, filepath, hslogger, hxt, magic, mtl, network,
-        parsec, stm, time, unix, zlib
+        utf8-string, filepath, hslogger, hxt, hxt-xpath, magic, mtl,
+        network, parsec, stm, time, unix, zlib
     Main-Is:
         Main.hs
     Other-Modules:
@@ -82,6 +77,7 @@ Executable rakka
         Rakka.Resource.Search
         Rakka.Resource.SystemConfig
         Rakka.Resource.TrackBack
+        Rakka.Resource.Users
         Rakka.Storage
         Rakka.Storage.DefaultPage
         Rakka.Storage.Repos
@@ -104,16 +100,8 @@ Executable rakka
         Rakka.Wiki.Parser
     Extensions:
         Arrows, ExistentialQuantification, ScopedTypeVariables, DeriveDataTypeable, FlexibleInstances
-    if flag(enable-profiling)
-        GHC-Options:
-            -Wall -O2 -fvia-C -prof -auto-all
-    else
-        if flag(hardest-optimization)
-            GHC-Options:
-                -Wall -O2 -fvia-C -funbox-strict-fields -threaded
-        else
-            GHC-Options:
-                -Wall -threaded
+    GHC-Options:
+        -Wall -threaded
 
 Executable RakkaUnitTest
     if flag(build-test-suite)