packages feed

Snusmumrik-0.0.1: Snusmumrik.cabal

Name:          Snusmumrik
Version:       0.0.1
Cabal-version: >= 1.2
Build-type:    Simple

Synopsis: E-library directory based on FUSE virtual file system.
Description:
  A cyber-anarchist e-library directory based on FUSE virtual file system.
  It is intended to work with FB2 (FictionBook2) e-book archives in the first
  place. Other e-book formats and archive layouts may be implemented later.
  .
  Today Snusmumrik consists of two utilities, `snus` to index archives and
  `mumrik` to mount library directory at given mount point. Mounted directory
  is organized by author name, by genre and by language.

Stability:     experimental
Category:      Text
License:       BSD3
License-file:  LICENSE
Homepage:      http://bitbucket.org/jetxee/snusmumrik/
Bug-reports:   http://bitbucket.org/jetxee/snusmumrik/issues/
Maintainer:    Sergey Astanin <s.astanin@gmail.com>

Tested-with:   GHC == 6.10
Extra-source-files: README, TODO

Flag debug
  Description:  Enable debug support and noisy (-Wall) compilation.
  Default:      False

Executable snus
  Main-is:     snus.hs
  Other-Modules: DB, Book, FB2, Utils, Views
  Extra-Libraries: zip
  Build-Tools:  cpphs
  Extensions:   CPP
  GHC-Options:  -pgmPcpphs -optP--cpp
  Build-depends:
                 haskell98
               , base >= 3 && < 5
               , filepath
               , directory
               , bytestring
               , utf8-string
               , iconv
               , regex-tdfa
               , HDBC
               , HDBC-sqlite3
               , convertible
               , LibZip >= 0.0.2 && < 0.1
               , xml
               , hslogger

  if flag(debug)
    GHC-Options: -Wall
    CPP-Options: -DDEBUGBUILD

Executable mumrik
  Main-is:     mumrik.hs
  Other-Modules: FileStats, Book, DB, Views, Utils
  Extra-Libraries: zip
  Build-Tools:  cpphs
  Extensions:   CPP
  GHC-Options:   -threaded -pgmPcpphs -optP--cpp
  Build-depends:
                 haskell98
               , base >= 3 && < 5
               , filepath
               , directory
               , bytestring
               , utf8-string
               , iconv
               , regex-tdfa
               , HDBC
               , HDBC-sqlite3
               , convertible
               , stm
               , LibZip >= 0.0.2 && < 0.1
               , unix
               , HFuse >= 0.2.1
               , hslogger

  if flag(debug)
    CPP-Options: -DDEBUGBUILD
    GHC-Options: -Wall