Cabal.cabal 2.7 KB
Newer Older
1
Name: Cabal
2
Version: 1.1.7
3
--FIXME: we need a CPP-Options field
Ian Lynagh's avatar
Ian Lynagh committed
4
GHC-Options: -DCABAL_VERSION=1,1,7 -Wall
Ross Paterson's avatar
Ross Paterson committed
5
CC-Options: "-DCABAL_VERSION=1,1,7"
6
nhc98-Options: -K4M
7
Copyright: 2003-2006, Isaac Jones
ijones's avatar
ijones committed
8
License: BSD3
ijones's avatar
ijones committed
9
License-File: LICENSE
ijones's avatar
ijones committed
10
11
Author: Isaac Jones <ijones@syntaxpolice.org>
Maintainer: Isaac Jones <ijones@syntaxpolice.org>
ijones's avatar
ijones committed
12
Homepage: http://www.haskell.org/cabal/
ijones's avatar
ijones committed
13
Synopsis: A framework for packaging Haskell software
ijones's avatar
ijones committed
14
Description:
ijones's avatar
ijones committed
15
        The Haskell Common Architecture for Building Applications and
ijones's avatar
ijones committed
16
        Libraries: a framework defining a common interface for authors to more
ijones's avatar
ijones committed
17
18
19
20
21
        easily build their Haskell applications in a portable way.
        .
        The Haskell Cabal is meant to be a part of a larger infrastructure
        for distributing, organizing, and cataloging Haskell libraries
        and tools.
ijones's avatar
ijones committed
22
Category: Distribution
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43


Flag small_base {
  Description: Choose the new smaller, split-up base package.
}


Library {
  if flag(small_base) {
    -- For ghc 6.2 you need to add 'unix' to Build-Depends:
    Build-Depends: base, filepath, pretty, directory, old-time, process
  } else {
    Build-Depends: base, filepath
  }

  --FIXME: we need a CPP-Options field
  GHC-Options: -DCABAL_VERSION=1,1,7 -Wall
  CC-Options: "-DCABAL_VERSION=1,1,7"
  nhc98-Options: -K4M

  Exposed-Modules:
ijones's avatar
ijones committed
44
        Distribution.Compiler,
ijones's avatar
ijones committed
45
46
47
48
        Distribution.Extension,
        Distribution.InstalledPackageInfo,
        Distribution.License,
        Distribution.Make,
ijones's avatar
ijones committed
49
        Distribution.Program,
ijones's avatar
ijones committed
50
51
        Distribution.Package,
        Distribution.PackageDescription,
52
        Distribution.Configuration,
ijones's avatar
ijones committed
53
54
55
56
        Distribution.ParseUtils,
        Distribution.PreProcess,
        Distribution.PreProcess.Unlit,
        Distribution.Setup,
57
        Distribution.SetupWrapper,
ijones's avatar
ijones committed
58
59
60
        Distribution.Simple,
        Distribution.Simple.Build,
        Distribution.Simple.Configure,
Ross Paterson's avatar
Ross Paterson committed
61
        Distribution.Simple.GHC,
62
        Distribution.Simple.GHCMakefile,
ijones's avatar
ijones committed
63
        Distribution.Simple.GHCPackageConfig,
Ross Paterson's avatar
Ross Paterson committed
64
        Distribution.Simple.Hugs,
ijones's avatar
ijones committed
65
        Distribution.Simple.Install,
Ross Paterson's avatar
Ross Paterson committed
66
        Distribution.Simple.JHC,
ijones's avatar
ijones committed
67
        Distribution.Simple.LocalBuildInfo,
Ross Paterson's avatar
Ross Paterson committed
68
        Distribution.Simple.NHC,
ijones's avatar
ijones committed
69
70
71
        Distribution.Simple.Register,
        Distribution.Simple.SrcDist,
        Distribution.Simple.Utils,
72
        Distribution.Verbosity,
ijones's avatar
ijones committed
73
        Distribution.Version,
Ian Lynagh's avatar
Ian Lynagh committed
74
        Distribution.Compat.ReadP,
75
        Language.Haskell.Extension
76
77

  Other-Modules:
ijones's avatar
ijones committed
78
        Distribution.GetOpt,
79
        Distribution.Compat.Map,
ijones's avatar
ijones committed
80
81
        Distribution.Compat.Directory,
        Distribution.Compat.Exception,
82
83
        Distribution.Compat.RawSystem,
        Distribution.Compat.TempFile
84
85

  Extra-Source-Files:
86
        mkGHCMakefile.sh Distribution/Simple/GHCMakefile.in
87
88
89

  Extensions: CPP
}