Commits

Sergey Astanin committed 00aa1f9

.cabal and LICENSE (BSD3)

Comments (0)

Files changed (3)

+Copyright (c) 2009, Sergey Astanin
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+    * Redistributions of source code must retain the above copyright notice,
+      this list of conditions and the following disclaimer.
+    * Redistributions in binary form must reproduce the above copyright notice,
+      this list of conditions and the following disclaimer in the documentation
+      and/or other materials provided with the distribution.
+    * Neither the name of the Sergey Astanin nor the names of other
+      contributors may be used to endorse or promote products derived from this
+      software without specific prior written permission.
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
+ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
+SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
+CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
+OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#!/usr/bin/env runhaskell
+> import Distribution.Simple
+> main = defaultMain
+Name:          Snusmumrik
+Version:       0.0.1
+Cabal-version: >= 1.2
+Build-type:    Simple
+
+Synopsis: E-library directory based on [FUSE][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 and by genre.
+
+Stability:     experimental
+Category:      Text
+License:       BSD3
+License-file:  LICENSE
+Maintainer:    Sergey Astanin <s.astanin@gmail.com>
+
+Tested-with:   GHC == 6.10
+
+Flag debug
+  Description:  Enable debug support and noisy (-Wall) compilation.
+  Default:      False
+
+Executable snus
+  Main-is:     snus.hs
+  Extra-Libraries: zip
+  Build-depends:
+                 haskell98
+               , base >= 3 && < 5
+               , filepath
+               , directory
+               , bytestring
+               , utf8-string
+               , iconv
+               , HDBC
+               , HDBC-sqlite3
+               , convertible
+               , LibZip >= 0.0.2
+               , xml
+
+  if flag(debug)
+    GHC-Options: -Wall
+    CPP-Options: -DDEBUG
+
+Executable mumrik
+  Main-is:     mumrik.hs
+  Extra-Libraries: zip
+  GHC-Options:   -threaded
+  Build-depends:
+                 haskell98
+               , base >= 3 && < 5
+               , filepath
+               , directory
+               , bytestring
+               , utf8-string
+               , iconv
+               , HDBC
+               , HDBC-sqlite3
+               , convertible
+               , LibZip >= 0.0.2
+               , unix
+               , HFuse >= 0.2.1
+
+  if flag(debug)
+    CPP-Options: -DDEBUG
+    GHC-Options: -Wall
+