~ubuntu-branches/ubuntu/raring/ldap-haskell/raring-proposed

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
Name: LDAP
Version: 0.6.6
License: BSD3
Maintainer: John Goerzen <jgoerzen@complete.org>
Author: John Goerzen
Stability: Beta
Copyright: Copyright (c) 2005-2010 John Goerzen
homepage: http://software.complete.org/ldap-haskell
Category: Network
Synopsis: Haskell binding for C LDAP API
Description: This package provides LDAP interface code for Haskell programs,
 binding to the C LDAP API.
license-file: COPYRIGHT
extra-source-files: COPYING

Build-Type: Simple
Cabal-Version: >=1.2.3

Flag buildtests
  description: Build the executable to run unit tests
  default: False

Library
  -- C-Sources: glue/glue.c
  Exposed-Modules: LDAP,
   LDAP.Types,
   LDAP.Init,
   LDAP.Constants,
   LDAP.Data,
   LDAP.Exceptions,
   LDAP.Search,
   LDAP.Modify
  Other-Modules: LDAP.Utils,
   LDAP.TypesLL,
   LDAP.Result
  Build-Depends: base

  build-depends: base >= 4 && <5

  Extra-Libraries: ldap

  GHC-Options: -O2
  -- CC-Options: -Iglue
  CC-Options: -DLDAP_DEPRECATED=1
  Extensions: ForeignFunctionInterface, TypeSynonymInstances,
              EmptyDataDecls, ScopedTypeVariables, CPP

Executable runtests
  if flag(buildtests)
    Buildable: True
  else
    Buildable: False
  Extra-Libraries: ldap
  Main-Is: runtests.hs
  CC-Options: -DLDAP_DEPRECATED=1
  Extensions: ForeignFunctionInterface, TypeSynonymInstances,
              EmptyDataDecls, ScopedTypeVariables, CPP
  Hs-Source-Dirs: testsrc, .
  GHC-Options: -O2

  build-depends: base >= 4 && < 5