File: debian.cabal

package info (click to toggle)
haskell-debian 3.64-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 364 kB
  • sloc: haskell: 3,226; ansic: 8; makefile: 3
file content (122 lines) | stat: -rw-r--r-- 3,220 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
116
117
118
119
120
121
122
Name:           debian
Version:        3.64
License:        BSD3
License-File:   debian/copyright
Author:         David Fox <dsf@seereason.com>, Jeremy Shaw <jeremy@seereason.com>, Clifford Beshers <beshers@seereason.com>
Category:       Debian
Maintainer:     David Fox ,dsf@seereason.com>
Homepage:       http://src.seereason.com/haskell-debian-new
Build-Type:     Simple
Synopsis:       Modules for working with the Debian package system
Cabal-Version: >= 1.6
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,
   bzlib,
   containers,
   directory,
   filepath,
   HaXml >= 1.20,
   mtl,
   network,
   old-locale,
   parsec >= 2 && <4,
   pretty,
   process,
   pureMD5,
   regex-compat,
   regex-tdfa,
   time,
   unix,
   Unixutils >= 1.50,
   utf8-string,
   zlib
 ghc-options: -W -Wall -O2
 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

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

source-repository head
  type:     darcs
  location: http://src.seereason.com/darcs/haskell-debian-new