summaryrefslogtreecommitdiff
path: root/utils/ghc-pkg/ghc-pkg.cabal
blob: 4b1aae7631cee8d18a8a5fb368744d10fd043434 (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
40
41
42
43
44
Name: ghc-pkg
-- XXX Version number
Version: 6.9
Copyright: XXX
License: BSD3
-- XXX License-File: LICENSE
Author: XXX
Maintainer: cvs-fptools@haskell.org
Synopsis: A utility for querying and managing the GHC package database.
Description:
    GHC maintains a database of known packages. This tools allows tools
    and users to query and modify this database. See @ghc-pkg --help@ for
    usage information.
Category: Development
build-type: Simple
cabal-version: >=1.10

Flag terminfo
    Description: Build GHC with terminfo support on non-Windows platforms.
    Default: True
    Manual: False

Executable ghc-pkg
    Default-Language: Haskell2010
    Main-Is: Main.hs
    Other-Modules: Version
    Other-Extensions: CPP

    Build-Depends: base       >= 4   && < 5,
                   directory  >= 1   && < 1.4,
                   process    >= 1   && < 1.7,
                   containers,
                   filepath,
                   Cabal,
                   binary,
                   ghc-boot,
                   bytestring
    if !os(windows) && flag(terminfo)
        Build-Depends: terminfo
        Cpp-Options: -DWITH_TERMINFO
    if !os(windows)
        Build-Depends: unix
    if os(windows)
        c-sources: CRT_noglob.c