cabal-install.cabal 2.49 KB
Newer Older
1
Name:               cabal-install
2
Version:            0.4.8
3
4
Synopsis:           Automatic package handling for Haskell
Description:        
Duncan Coutts's avatar
Duncan Coutts committed
5
6
7
8
    apt-get like tool for Haskell. 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.
9
10
License:            BSD3
License-File:       LICENSE
11
12
13
Author:             Lemmih <lemmih@gmail.com>
                    Paolo Martini <paolo@nemail.it>
		    Bjorn Bringert <bjorn@bringert.net>
ijones's avatar
ijones committed
14
		    Isaac Potoczny-Jones <ijones@syntaxpolice.org>
15
		    Duncan Coutts <duncan@haskell.org>
16
Maintainer:         cabal-devel@haskell.org
17
18
19
Copyright:          2005 Lemmih <lemmih@gmail.com>
                    2006 Paolo Martini <paolo@nemail.it>
		    2007 Bjorn Bringert <bjorn@bringert.net>
ijones's avatar
ijones committed
20
		    2007 Isaac Potoczny-Jones <ijones@syntaxpolice.org>
21
		    2008 Duncan Coutts <duncan@haskell.org>
22
23
24
Stability:          Experimental
Category:           Distribution
Build-type:         Simple
25
Extra-Source-Files: README
26
Cabal-Version:      >= 1.2
27

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

32
33
flag bytestring-in-base

34
Executable cabal
Don Stewart's avatar
Don Stewart committed
35
    Main-Is:            Main.hs
36
37
    Ghc-Options:        -Wall
    Other-Modules:
38
        Hackage.Check
39
--        Hackage.Clean
Don Stewart's avatar
Don Stewart committed
40
41
        Hackage.Config
        Hackage.Dependency
42
43
        Hackage.Dependency.Bogus
        Hackage.Dependency.Naive
44
45
46
        Hackage.Dependency.TopDown
        Hackage.Dependency.TopDown.Constraints
        Hackage.Dependency.TopDown.Types
47
        Hackage.Dependency.Types
Don Stewart's avatar
Don Stewart committed
48
        Hackage.Fetch
49
        Hackage.HttpUtils
50
        Hackage.IndexUtils
51
--        Hackage.Info
Don Stewart's avatar
Don Stewart committed
52
        Hackage.Install
53
        Hackage.InstallPlan
Don Stewart's avatar
Don Stewart committed
54
        Hackage.List
Duncan Coutts's avatar
Duncan Coutts committed
55
        Hackage.ParseUtils
Don Stewart's avatar
Don Stewart committed
56
        Hackage.Setup
57
        Hackage.SetupWrapper
58
        Hackage.SrcDist
Don Stewart's avatar
Don Stewart committed
59
60
61
        Hackage.Tar
        Hackage.Types
        Hackage.Update
62
        Hackage.Upload
Don Stewart's avatar
Don Stewart committed
63
        Hackage.Utils
64

65
    build-depends: Cabal >= 1.3.11 && < 1.5, filepath >= 1.0, network,
66
                   zlib >= 0.3, HTTP >= 3000.0 && < 3001.2
67
68
69
70

    if flag(old-base)
      build-depends: base < 3
    else
Duncan Coutts's avatar
Duncan Coutts committed
71
      build-depends: base >= 3, process, directory, pretty, random,
72
                     containers, array, old-time
73

74
75
76
77
    if flag(bytestring-in-base)
      build-depends: base >= 2.0 && < 2.2
    else
      build-depends: base < 2.0 || >= 3.0, bytestring >= 0.9
78
79
80
81

    if os(windows)
      build-depends: Win32 >= 2
      cpp-options: -DWIN32