summaryrefslogtreecommitdiff
path: root/utils/hpc/hpc-bin.cabal
blob: cd66853e5ebc47ab8f3a90c9e67913b0c2159ed0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
Name: hpc-bin
-- XXX version number:
Version: 0.67
Copyright: XXX
License: BSD3
-- XXX License-File: LICENSE
Author: XXX
Maintainer: XXX
Synopsis: XXX
Description:
	XXX
Category: Development
build-type: Simple
cabal-version: >=1.2

Flag base4
    Description: Choose the even newer, even smaller, split-up base package.

Flag base3
    Description: Choose the new smaller, split-up base package.

Executable hpc
    Main-Is: Hpc.hs
    Other-Modules: HpcParser

    if flag(base4)
        Build-Depends: base       >= 4   && < 5
    if flag(base3)
        Build-Depends: base       >= 3   && < 4
    if !flag(base3) && !flag(base4)
        Build-Depends: base       < 3

    if flag(base3) || flag(base4)
        Build-Depends: directory  >= 1   && < 1.1,
                       containers >= 0.1 && < 0.3,
                       array      >= 0.1 && < 0.3
    Build-Depends: haskell98, hpc
    Extensions: CPP