File: debian.cabal

package info (click to toggle)
haskell-debian 3.47-3
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 432 kB
  • ctags: 3
  • sloc: haskell: 4,075; ansic: 8; makefile: 4
file content (115 lines) | stat: -rw-r--r-- 3,423 bytes parent folder | download
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
Name:           debian
Version:        3.47
License:        BSD3
License-File:   debian/copyright
Author:         David Fox
Category:       System
Maintainer:     david@seereason.com
Homepage:       http://src.seereason.com/haskell-debian
Build-Type:     Simple
Synopsis:       Modules for working with the Debian package system
Cabal-Version: >= 1.2
Description:
  This library includes modules covering some basic data types defined by
  the Debian policy manual - version numbers, control file syntax, etc.
extra-source-files:
  Test/Main.hs, Test/Changes.hs, Test/Dependencies.hs,
  Test/SourcesList.hs, Test/VersionPolicy.hs, Test/Versions.hs

Flag cabal19
 Description: True if Cabal >= 1.9 is available

Library
 Build-Depends:  base >= 4 && < 5, bytestring, containers, directory,
                 filepath, mtl, network, old-locale, parsec >= 2 && <4, pretty, process,
                 regex-tdfa, regex-compat, time, unix, bzlib, HaXml < 1.14, Unixutils, zlib
 ghc-options: -O2 -W -Wall
 if flag(cabal19)
   build-depends: Cabal >= 1.9
   cpp-options: -DCABAL19
 else
   build-depends: Cabal >= 1.8
   cpp-options: -DCABAL18
 Extensions: ExistentialQuantification CPP
 Exposed-modules:
        Debian.Apt.Dependencies,
        Debian.Apt.Index,
        Debian.Apt.Methods,
        Debian.Apt.Package,
        Debian.Changes,
        Debian.Control,
        Debian.Control.Common,
        Debian.Control.PrettyPrint,
        Debian.Control.ByteString,
        Debian.Control.String,
        Debian.Deb,
        Debian.Extra.Files,
        Debian.GenBuildDeps,
        Debian.Relation,
        Debian.Relation.ByteString,
        Debian.Relation.Common,
        Debian.Relation.String,
        Debian.Release,
        Debian.Sources,
        Debian.Version,
        Debian.Version.Common,
        Debian.Version.String,
        Debian.Version.ByteString,
        Debian.Report,
        Debian.Time,
        Debian.URI,
        Debian.Util.FakeChanges
 other-modules:
        Debian.Version.Internal,
        Distribution.Package.Debian.Bundled,
        Distribution.Package.Debian.Setup,
        Distribution.Package.Debian.Main,
        Distribution.Package.Debian

Executable fakechanges
 Main-is: utils/FakeChanges.hs
 ghc-options: -O2 -threaded -W
 Extensions:           ExistentialQuantification CPP
 if flag(cabal19)
   build-depends: Cabal >= 1.9
   cpp-options: -DCABAL19
 else
   build-depends: Cabal >= 1.8
   cpp-options: -DCABAL18

Executable debian-report
 Main-is: utils/Report.hs
 ghc-options: -O2 -threaded -W
 C-Sources:           cbits/gwinsz.c
 Include-Dirs:        cbits
 Install-Includes:    gwinsz.h
 Extensions:           ExistentialQuantification CPP
 if flag(cabal19)
   build-depends: Cabal >= 1.9
   cpp-options: -DCABAL19
 else
   build-depends: Cabal >= 1.8
   cpp-options: -DCABAL18

Executable cabal-debian
 Main-is: utils/CabalDebian.hs
 ghc-options: -O2 -threaded -W
 Build-Depends: Cabal >= 1.6.0.1
 Extensions:           ExistentialQuantification CPP
 if flag(cabal19)
   build-depends: Cabal >= 1.9
   cpp-options: -DCABAL19
 else
   build-depends: Cabal >= 1.8
   cpp-options: -DCABAL18

Executable apt-get-build-depends
 Main-is: utils/AptGetBuildDeps.hs
 ghc-options: -O2 -threaded -W
 Extensions:           ExistentialQuantification CPP
 if flag(cabal19)
   build-depends: Cabal >= 1.9
   cpp-options: -DCABAL19
 else
   build-depends: Cabal >= 1.8
   cpp-options: -DCABAL18