]> gitweb @ CieloNegro.org - Rakka.git/blobdiff - Rakka.cabal
Use HsOpenSSL instead of Crypto
[Rakka.git] / Rakka.cabal
index 7df3dc4b370754170e3a5ec69d4f36f9820c9e77..1f8cea38851f201b29c6bcdce9b1dd10fba9e08d 100644 (file)
-Name:
-    Rakka
-Synopsis:
-    Wiki engine with Subversion backend
+Name:          Rakka
+Synopsis:      Wiki engine with Subversion backend
 Description:
-    FIXME: write this
-Version:
-    0.1
-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/Rakka/
-Category:
-    Web
-Tested-With:
-    GHC == 6.6.1
-Build-Depends:
-    Crypto, HUnit, HsSVN, Lucu, base, encoding, filepath, hslogger,
-    hxt, mtl, network, parsec, stm, unix
+    Rakka is a wiki engine with Subversion backend. Its syntax is
+    similar to MediaWiki.
+Version:       0.1
+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://rakka.cielonegro.org/
+Category:      Web
+Tested-With:   GHC == 6.6.1
+Cabal-Version: >= 1.2
+
 Data-Files:
-    defaultpages/Help/SampleImage/Large
-    defaultpages/Help/SampleImage/Small
-    defaultPages/Help/Syntax
-    defaultPages/MainPage
-    defaultPages/PageTitle
-    defaultPages/SideBar/Left
-    defaultPages/SideBar/Right
-    defaultPages/StyleSheet/Default
+    defaultPages/Feed.xml
+    defaultpages/Help/SampleImage/Large.xml
+    defaultpages/Help/SampleImage/Small.xml
+    defaultPages/Help/Syntax.xml
+    defaultPages/MainPage.xml
+    defaultPages/PageTitle.xml
+    defaultPages/SideBar/Left.xml
+    defaultPages/SideBar/Right.xml
+    defaultPages/StyleSheet/CieloNegro/Logo.xml
+    defaultPages/StyleSheet/CieloNegro/Moon.xml
+    defaultPages/StyleSheet/CieloNegro.xml
+    defaultPages/StyleSheet/Default.xml
     schemas/rakka-page-1.0.rng
 
+Extra-Source-Files:
+    Rakka.buildinfo.in
+    configure
+    configure.ac
+    js/Makefile
+    js/base.js
+    js/base64.js
+    js/editPage.js
+    js/jquery-1.2.1.js
+    js/jquery-dom.js
+    js/localFile.js
+    js/login.js
+    js/screen.js
+    js/search.js
+    js/uri.js
+
+Flag build-test-suite
+    Description: Build the test suite.
+    Default:     False
+
+Flag enable-profiling
+    Description: Enable profiling of the executable
+    Default:     False
 
-Executable:
-    rakka
-Main-Is:
-    Main.hs
-Other-Modules:
-    Rakka.Environment
-    Rakka.Page
-    Rakka.Plugin
-    Rakka.Resource
-    Rakka.Resource.Index
-    Rakka.Resource.Object
-    Rakka.Resource.Render
-    Rakka.Storage
-    Rakka.Storage.DefaultPage
-    Rakka.SystemConfig
-    Rakka.Utils
-    Rakka.Wiki
-    Rakka.Wiki.Interpreter
-    Rakka.Wiki.Interpreter.Base
-    Rakka.Wiki.Interpreter.Image
-    Rakka.Wiki.Interpreter.Outline
-    Rakka.Wiki.Engine
-    Rakka.Wiki.Formatter
-    Rakka.Wiki.Parser
-Extensions:
-    Arrows
-GHC-Options:
-    -fwarn-unused-imports -fglasgow-exts
+Flag hardest-optimization
+    Description: Make the executable as fast as possible
+    Default:     False
 
+Executable rakka
+    Build-Depends:
+        FileManip, HTTP, HUnit, HsHyperEstraier, HsOpenSSL, HsSVN,
+        Lucu, base, bytestring, containers, dataenc, directory,
+        utf8-string, filepath, hslogger, hxt, magic, mtl, network,
+        parsec, stm, time, unix, zlib
+    Main-Is:
+        Main.hs
+    Other-Modules:
+        Rakka.Attachment
+        Rakka.Authorization
+        Rakka.Environment
+        Rakka.Page
+        Rakka.Resource
+        Rakka.Resource.CheckAuth
+        Rakka.Resource.Index
+        Rakka.Resource.JavaScript
+        Rakka.Resource.Object
+        Rakka.Resource.PageEntity
+        Rakka.Resource.Render
+        Rakka.Resource.Search
+        Rakka.Resource.SystemConfig
+        Rakka.Resource.TrackBack
+        Rakka.Storage
+        Rakka.Storage.DefaultPage
+        Rakka.Storage.Repos
+        Rakka.Storage.Types
+        Rakka.Storage.Impl
+        Rakka.SystemConfig
+        Rakka.TrackBack
+        Rakka.Utils
+        Rakka.Validation
+        Rakka.W3CDateTime
+        Rakka.Wiki
+        Rakka.Wiki.Interpreter
+        Rakka.Wiki.Interpreter.Base
+        Rakka.Wiki.Interpreter.Image
+        Rakka.Wiki.Interpreter.PageList
+        Rakka.Wiki.Interpreter.Trackback
+        Rakka.Wiki.Interpreter.Outline
+        Rakka.Wiki.Engine
+        Rakka.Wiki.Formatter
+        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
+        else
+            GHC-Options:
+                -Wall
 
-Executable:
-    RakkaUnitTest
-Main-Is:
-    RakkaUnitTest.hs
-Hs-Source-Dirs:
-    tests
-Other-Modules:
-    WikiParserTest
-GHC-Options:
-    -fwarn-unused-imports -fglasgow-exts
\ No newline at end of file
+Executable RakkaUnitTest
+    if flag(build-test-suite)
+        Buildable: True
+    else
+        Buildable: False
+    Main-Is:
+        RakkaUnitTest.hs
+    Hs-Source-Dirs:
+        ., tests
+    Other-Modules:
+        WikiParserTest
+    Extensions:
+        Arrows
+    GHC-Options:
+        -Wall -Werror
\ No newline at end of file