a201cb88165325a8e25ab553e8b1d1e37e11229d
[ghc-hetmet.git] / utils / ghc-pkg / ghc-pkg.cabal
1 Name: ghc-pkg
2 -- XXX Version number
3 Version: 6.9
4 Copyright: XXX
5 License: BSD3
6 -- XXX License-File: LICENSE
7 Author: XXX
8 Maintainer: cvs-fptools@haskell.org
9 Synopsis: XXX
10 Description:
11         XXX
12 Category: Development
13 build-type: Simple
14 cabal-version: >=1.2
15
16 Flag base4
17     Description: Choose the even newer, even smaller, split-up base package.
18
19 Flag base3
20   Description: Choose the new smaller, split-up base package.
21
22 Executable ghc-pkg
23     Main-Is: Main.hs
24     Extensions: CPP, ForeignFunctionInterface
25
26     if flag(base4)
27         Build-Depends: base       >= 4   && < 5
28     if flag(base3)
29         Build-Depends: base       >= 3   && < 4
30     if !flag(base3) && !flag(base4)
31         Build-Depends: base       < 3
32
33     if flag(base3) || flag(base4)
34         Build-Depends: directory  >= 1   && < 1.1,
35                        process    >= 1   && < 1.1,
36                        pretty     >= 1   && < 1.1
37
38     Build-Depends: haskell98, filepath, Cabal
39     if !os(windows)
40         Build-Depends: unix
41     if os(windows)
42         c-sources: CRT_noglob.c