File: LDAP.cabal

package info (click to toggle)
ldap-haskell 0.6.10-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 148 kB
  • sloc: haskell: 83; makefile: 2
file content (67 lines) | stat: -rw-r--r-- 1,686 bytes parent folder | download | duplicates (2)
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
Name: LDAP
Version: 0.6.10
License: BSD3
Maintainer: Edward Z. Yang <ezyang@mit.edu>
Author: John Goerzen, Edward Z. Yang
Stability: Beta
Copyright: Copyright (c) 2005-2014 John Goerzen, Edward Z. Yang
homepage: https://github.com/ezyang/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, lber

  GHC-Options: -O2
  -- CC-Options: -Iglue
  if os(openbsd)
    CC-Options: -DLDAP_X_PROXY_AUTHZ_FAILURE=LDAP_PROXY_AUTHZ_FAILURE
  else
    CC-Options: -DLDAP_DEPRECATED=1
  Extensions: ForeignFunctionInterface, TypeSynonymInstances,
              EmptyDataDecls, ScopedTypeVariables, CPP

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

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