cabal-install.cabal 1.62 KB
Newer Older
1
Name:               cabal-install
Duncan Coutts's avatar
Duncan Coutts committed
2
Version:            0.4.0
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
11
12
13
14
15
16
License:            BSD3
License-File:       LICENSE
Author:             Lemmih <lemmih@gmail.com>, Paolo Martini <paolo@nemail.it>
Maintainer:         cabal-devel@haskell.org
Copyright:          2005 Lemmih <lemmih@gmail.com>, 2006 Paolo Martini <paolo@nemail.it>
Stability:          Experimental
Category:           Distribution
Build-type:         Simple
17
Extra-Source-Files: README
18
Cabal-Version:      >= 1.2
19

20
21
flag old-base
  description: Old, monolithic base
22
  default: False
23

24
25
flag bytestring-in-base

26
Executable cabal
Don Stewart's avatar
Don Stewart committed
27
    Main-Is:            Main.hs
28
29
    Ghc-Options:        -Wall
    Other-Modules:
Don Stewart's avatar
Don Stewart committed
30
31
32
33
        Hackage.Clean
        Hackage.Config
        Hackage.Dependency
        Hackage.Fetch
34
        Hackage.Index
Don Stewart's avatar
Don Stewart committed
35
36
37
38
39
40
41
42
        Hackage.Info
        Hackage.Install
        Hackage.List
        Hackage.Setup
        Hackage.Tar
        Hackage.Types
        Hackage.Update
        Hackage.Utils
43

44
    build-depends: Cabal >= 1.2, filepath >= 1.0, network,
45
                   zlib >= 0.3, HTTP >= 3000.0 && < 3001.1
46
47
48
49
50

    if flag(old-base)
      build-depends: base < 3
    else
      build-depends: base >= 3, process, directory, pretty
51

52
53
54
55
    if flag(bytestring-in-base)
      build-depends: base >= 2.0 && < 2.2
    else
      build-depends: base < 2.0 || >= 3.0, bytestring >= 0.9