Build hpc with Cabal
[ghc-hetmet.git] / utils / hpc / hpc-bin.cabal
1 Name: hpc-bin
2 -- XXX version number:
3 Version: 0.67
4 Copyright: XXX
5 License: BSD3
6 -- XXX License-File: LICENSE
7 Author: XXX
8 Maintainer: XXX
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 hpc
20     Main-Is: Hpc.hs
21     if flag(base3)
22         Build-Depends: base       >= 3   && < 4,
23                        directory  >= 1   && < 1.1,
24                        containers >= 0.1 && < 0.2,
25                        array      >= 0.1 && < 0.2
26     else
27         Build-Depends: base < 3
28     Build-Depends: haskell98, hpc
29     Extensions: CPP
30