File: zip-archive.cabal

package info (click to toggle)
haskell-zip-archive 0.1.1.7-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 116 kB
  • sloc: haskell: 583; makefile: 3
file content (45 lines) | stat: -rw-r--r-- 1,429 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Name:                zip-archive
Version:             0.1.1.7
Cabal-version:       >= 1.2
Build-type:          Simple
Synopsis:            Library for creating and modifying zip archives.
Description:         The zip-archive library provides functions for creating, modifying,
                     and extracting files from zip archives.
Category:            Codec
License:             GPL
License-file:        LICENSE
Homepage:            http://github.com/jgm/zip-archive
Author:              John MacFarlane
Maintainer:          jgm@berkeley.edu
Build-Depends:       base
Extra-Source-Files:  Tests.hs, COPYING

flag splitBase
  Description:       Choose the new, smaller, split-up base package.
  Default:           True
flag executable
  Description:       Build the Zip executable.
  Default:           False

Library 
  if flag(splitBase)
    Build-depends:   base >= 3 && < 5, pretty, containers
  else
    Build-depends:   base < 3
  Build-depends:     binary, zlib, filepath, directory, bytestring >= 0.9.0, array, mtl, utf8-string >= 0.3.1, old-time, digest >= 0.0.0.1
  Exposed-modules:   Codec.Archive.Zip
  Hs-Source-Dirs:    .
  Ghc-Options:       -Wall
  Extensions:        CPP
  if os(windows)
    cpp-options:     -D_WINDOWS
  else
    Build-depends:   unix

Executable Zip
  if flag(executable)
    Buildable:       True
  else
    Buildable:       False
  Main-is:           Zip.hs
  Ghc-Options:       -Wall