cabal-install.cabal 2.09 KB
Newer Older
1
Name:               cabal-install
2
Version:            0.4.6
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
Maintainer:         cabal-devel@haskell.org
16 17 18
Copyright:          2005 Lemmih <lemmih@gmail.com>
                    2006 Paolo Martini <paolo@nemail.it>
		    2007 Bjorn Bringert <bjorn@bringert.net>
ijones's avatar
ijones committed
19
		    2007 Isaac Potoczny-Jones <ijones@syntaxpolice.org>
20 21 22
Stability:          Experimental
Category:           Distribution
Build-type:         Simple
23
Extra-Source-Files: README
24
Cabal-Version:      >= 1.2
25

26 27
flag old-base
  description: Old, monolithic base
28
  default: False
29

30 31
flag bytestring-in-base

32
Executable cabal
Don Stewart's avatar
Don Stewart committed
33
    Main-Is:            Main.hs
34 35
    Ghc-Options:        -Wall
    Other-Modules:
Don Stewart's avatar
Don Stewart committed
36 37 38 39
        Hackage.Clean
        Hackage.Config
        Hackage.Dependency
        Hackage.Fetch
40
        Hackage.HttpUtils
41
        Hackage.IndexUtils
Don Stewart's avatar
Don Stewart committed
42 43 44
        Hackage.Info
        Hackage.Install
        Hackage.List
Duncan Coutts's avatar
Duncan Coutts committed
45
        Hackage.ParseUtils
Don Stewart's avatar
Don Stewart committed
46 47 48 49
        Hackage.Setup
        Hackage.Tar
        Hackage.Types
        Hackage.Update
ijones's avatar
ijones committed
50
        Hackage.Upgrade
51
        Hackage.Upload
Don Stewart's avatar
Don Stewart committed
52
        Hackage.Utils
53

54
    build-depends: Cabal >= 1.3.10, filepath >= 1.0, network,
55
                   zlib >= 0.3, HTTP >= 3000.0 && < 3001.1
56 57 58 59

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

63 64 65 66
    if flag(bytestring-in-base)
      build-depends: base >= 2.0 && < 2.2
    else
      build-depends: base < 2.0 || >= 3.0, bytestring >= 0.9
67 68 69 70

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