Ticket #2060: cabal.cabal

File cabal.cabal, 4.3 KB (added by styx, 10 years ago)

File in messed up style for testing

Line 
1Name: Cabal
2Version: 1.8.0.2
3Copyright: 2003-2006, Isaac Jones
4           2005-2009, Duncan Coutts
5license: BSD3
6License-File: LICENSE
7Author: Isaac Jones <ijones@syntaxpolice.org>
8        Duncan Coutts <duncan@haskell.org>
9Maintainer: cabal-devel@haskell.org
10Homepage: http://www.haskell.org/cabal/
11bug-reports: http://hackage.haskell.org/trac/hackage/
12Synopsis: A framework for packaging Haskell software
13Description:
14        The Haskell Common Architecture for Building Applications and
15        Libraries: a framework defining a common interface for authors to more
16        easily build their Haskell applications in a portable way.
17
18        The Haskell Cabal is part of a larger infrastructure for distributing,
19        organizing, and cataloging Haskell libraries and tools.
20Category: Distribution
21Build-Type: Custom
22-- Even though we do use the default Setup.lhs it's vital to bootstrapping
23-- that we build Setup.lhs using our own local Cabal source code.
24
25Extra-Source-Files:
26        README changelog
27
28source-repository head
29  type:     darcs
30  location: http://darcs.haskell.org/cabal/
31
32source-repository this
33  type:     darcs
34  location: http://darcs.haskell.org/cabal-branches/cabal-1.8/
35  tag: 1.8.0.2
36
37Flag base4
38    Description: Choose the even newer, even smaller, split-up base package.
39
40Flag base3
41    Description: Choose the new smaller, split-up base package.
42
43Library
44  build-depends:   base       >= 1   && < 5,
45                   filepath   >= 1   && < 1.2
46  if flag(base4) { build-depends: base >= 4 } else { build-depends: base < 4 }
47  if flag(base3) { build-depends: base >= 3 } else { build-depends: base < 3 }
48  if flag(base3)
49    Build-Depends: directory  >= 1   && < 1.1,
50                   process    >= 1   && < 1.1,
51                   old-time   >= 1   && < 1.1,
52                   containers >= 0.1 && < 0.4,
53                   array      >= 0.1 && < 0.4,
54                   pretty     >= 1   && < 1.1
55
56  if !os(windows)
57    Build-Depends: unix       >= 2.1 && < 2.5
58
59  ghc-options: -Wall -fno-ignore-asserts
60  if impl(ghc >= 6.8)
61    ghc-options: -fwarn-tabs
62  cpp-options: "-DCABAL_VERSION=1,8,0,2"
63  nhc98-Options: -K4M
64
65  Exposed-Modules:
66        Distribution.Compiler,
67        Distribution.InstalledPackageInfo,
68        Distribution.License,
69        Distribution.Make,
70        Distribution.ModuleName,
71        Distribution.Package,
72        Distribution.PackageDescription,
73        Distribution.PackageDescription.Configuration,
74        Distribution.PackageDescription.Parse,
75        Distribution.PackageDescription.Check,
76        Distribution.ParseUtils,
77        Distribution.ReadE,
78        Distribution.Simple,
79        Distribution.Simple.Build,
80        Distribution.Simple.Build.Macros,
81        Distribution.Simple.Build.PathsModule,
82        Distribution.Simple.BuildPaths,
83        Distribution.Simple.Command,
84        Distribution.Simple.Compiler,
85        Distribution.Simple.Configure,
86        Distribution.Simple.GHC,
87        Distribution.Simple.LHC,
88        Distribution.Simple.Haddock,
89        Distribution.Simple.Hugs,
90        Distribution.Simple.Install,
91        Distribution.Simple.InstallDirs,
92        Distribution.Simple.JHC,
93        Distribution.Simple.LocalBuildInfo,
94        Distribution.Simple.NHC,
95        Distribution.Simple.PackageIndex,
96        Distribution.Simple.PreProcess,
97        Distribution.Simple.PreProcess.Unlit,
98        Distribution.Simple.Program,
99        Distribution.Simple.Program.Ar,
100        Distribution.Simple.Program.Builtin,
101        Distribution.Simple.Program.Db,
102        Distribution.Simple.Program.HcPkg,
103        Distribution.Simple.Program.Ld,
104        Distribution.Simple.Program.Run,
105        Distribution.Simple.Program.Script,
106        Distribution.Simple.Program.Types,
107        Distribution.Simple.Register,
108        Distribution.Simple.Setup,
109        Distribution.Simple.SrcDist,
110        Distribution.Simple.UserHooks,
111        Distribution.Simple.Utils,
112        Distribution.System,
113        Distribution.Text,
114        Distribution.Verbosity,
115        Distribution.Version,
116        Distribution.Compat.ReadP,
117        Language.Haskell.Extension
118
119  Other-Modules:
120        Distribution.GetOpt,
121        Distribution.Compat.Exception,
122        Distribution.Compat.CopyFile,
123        Distribution.Compat.TempFile,
124        Distribution.Simple.GHC.IPI641,
125        Distribution.Simple.GHC.IPI642
126
127  Extensions: CPP