cabal-install.cabal 3.89 KB
Newer Older
1
Name:               cabal-install
2
Version:            0.7
3
Synopsis:           The command-line interface for Cabal and Hackage.
4
Description:
5 6 7
    The \'cabal\' command-line program simplifies the process of managing
    Haskell software by automating the fetching, configuration, compilation
    and installation of Haskell libraries and programs.
8 9
homepage:           http://www.haskell.org/cabal/
bug-reports:        http://hackage.haskell.org/trac/hackage/
10 11
License:            BSD3
License-File:       LICENSE
12 13
Author:             Lemmih <lemmih@gmail.com>
                    Paolo Martini <paolo@nemail.it>
14 15 16
                    Bjorn Bringert <bjorn@bringert.net>
                    Isaac Potoczny-Jones <ijones@syntaxpolice.org>
                    Duncan Coutts <duncan@haskell.org>
17
Maintainer:         cabal-devel@haskell.org
18 19
Copyright:          2005 Lemmih <lemmih@gmail.com>
                    2006 Paolo Martini <paolo@nemail.it>
20 21 22
                    2007 Bjorn Bringert <bjorn@bringert.net>
                    2007 Isaac Potoczny-Jones <ijones@syntaxpolice.org>
                    2008 Duncan Coutts <duncan@haskell.org>
23 24 25
Stability:          Experimental
Category:           Distribution
Build-type:         Simple
26
Extra-Source-Files: README bash-completion/cabal bootstrap.sh
27
Cabal-Version:      >= 1.4
28

29 30
flag old-base
  description: Old, monolithic base
31
  default: False
32

33 34
flag bytestring-in-base

35
Executable cabal
Don Stewart's avatar
Don Stewart committed
36
    Main-Is:            Main.hs
37 38
    -- We want assertion checking on even if people build with -O
    -- although it is expensive, we want to catch problems early:
Duncan Coutts's avatar
Duncan Coutts committed
39 40 41
    ghc-options:        -Wall -fno-ignore-asserts
    if impl(ghc >= 6.8)
      ghc-options: -fwarn-tabs
42
    Other-Modules:
Duncan Coutts's avatar
Duncan Coutts committed
43 44
        Distribution.Client.BuildReports.Anonymous
        Distribution.Client.BuildReports.Storage
Duncan Coutts's avatar
Duncan Coutts committed
45
        Distribution.Client.BuildReports.Types
Duncan Coutts's avatar
Duncan Coutts committed
46
        Distribution.Client.BuildReports.Upload
47 48
        Distribution.Client.Check
        Distribution.Client.Config
Duncan Coutts's avatar
Duncan Coutts committed
49
        Distribution.Client.Configure
50 51 52 53 54 55 56 57 58 59 60
        Distribution.Client.Dependency
        Distribution.Client.Dependency.Bogus
        Distribution.Client.Dependency.TopDown
        Distribution.Client.Dependency.TopDown.Constraints
        Distribution.Client.Dependency.TopDown.Types
        Distribution.Client.Dependency.Types
        Distribution.Client.Fetch
        Distribution.Client.HttpUtils
        Distribution.Client.IndexUtils
        Distribution.Client.Install
        Distribution.Client.InstallPlan
61
        Distribution.Client.InstallSymlink
62 63 64 65 66 67
        Distribution.Client.List
        Distribution.Client.Setup
        Distribution.Client.SetupWrapper
        Distribution.Client.SrcDist
        Distribution.Client.Tar
        Distribution.Client.Types
Duncan Coutts's avatar
Duncan Coutts committed
68
        Distribution.Client.Unpack
69 70 71
        Distribution.Client.Update
        Distribution.Client.Upload
        Distribution.Client.Utils
72
        Distribution.Client.Win32SelfUpgrade
73
        Distribution.Compat.TempFile
74
        Paths_cabal_install
75

76
    build-depends: base >= 2 && < 4,
77
                   Cabal >= 1.7.2 && < 1.9,
78 79
                   filepath >= 1.0,
                   network >= 1 && < 3,
Duncan Coutts's avatar
Duncan Coutts committed
80
                   HTTP >= 4000.0.2 && < 4001,
81
                   zlib >= 0.4 && < 0.6
82 83 84 85

    if flag(old-base)
      build-depends: base < 3
    else
86
      build-depends: base       >= 3,
87 88 89 90
                     process    >= 1   && < 1.1,
                     directory  >= 1   && < 1.1,
                     pretty     >= 1   && < 1.1,
                     random     >= 1   && < 1.1,
91 92
                     containers >= 0.1 && < 0.3,
                     array      >= 0.1 && < 0.3,
93
                     old-time   >= 1   && < 1.1
94

95 96 97 98
    if flag(bytestring-in-base)
      build-depends: base >= 2.0 && < 2.2
    else
      build-depends: base < 2.0 || >= 3.0, bytestring >= 0.9
99 100

    if os(windows)
101
      build-depends: Win32 >= 2 && < 3
102
      cpp-options: -DWIN32
103
    else
104
      build-depends: unix >= 1.0 && < 2.4
Duncan Coutts's avatar
Duncan Coutts committed
105
    extensions: CPP