More build system changes; ghc-pkg is now built with Cabal
[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 base3
17   Description: Choose the new smaller, split-up base package.
18
19 Executable ghc-pkg
20     Main-Is: Main.hs
21     Extensions: CPP, ForeignFunctionInterface
22     if flag(base3)
23         Build-Depends: base       >= 3   && < 4,
24                        directory  >= 1   && < 1.1,
25                        process    >= 1   && < 1.1,
26                        pretty     >= 1   && < 1.1
27     else
28         Build-Depends: base < 3
29     Build-Depends: haskell98, filepath, Cabal
30     if !os(windows)
31         Build-Depends: unix
32