-
Notifications
You must be signed in to change notification settings - Fork 5
/
cybersource.cabal
134 lines (127 loc) · 3.14 KB
/
cybersource.cabal
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
123
124
125
126
127
128
129
130
131
132
133
134
name: cybersource
version: 0.1.0.0
synopsis: CyberSource client library
license: MIT
license-file: LICENSE
author: John Wiegley
maintainer: johnw@fpcomplete.com
build-type: Custom
cabal-version: >=1.10
flag hpc
default: False
flag dev
default: False
library
default-language: Haskell2010
ghc-options: -Wall
if flag(hpc)
ghc-options: -fhpc -hpcdir dist/hpc
if flag(dev)
cpp-options: -DDEVELOPMENT
include-dirs: FP/Merchant/Processor
exposed-modules:
FP.Merchant.Processor
FP.Merchant.Processor.CybsSoapClient
FP.Merchant.Processor.CyberSource
FP.Merchant.Processor.MockSource
build-depends:
base >= 4 && < 5
, merchant
, aeson
, bindings-DSL
, bytestring
, esqueleto >= 1.2.4
, failure
, fast-logger
, lifted-base
, monad-extras
, monad-logger
, old-locale
, persistent
, persistent-template
-- jww (2013-07-12): remove
, persistent-sqlite
, persistent-postgresql
, resourcet
, system-fileio
, system-filepath
, template-haskell
, text
, time
, time-recurrence
, transformers
cc-options: -w -DWITH_DOM -DWITH_OPENSSL -std=c++11
if os(linux)
cc-options: -DLINUX
include-dirs:
FP/Merchant/Processor
dist/build/libcybs
if os(linux)
include-dirs:
/usr/share/gsoap
/usr/share/gsoap/plugin
if os(darwin)
include-dirs:
/usr/local/opt/gsoap/share/gsoap
/usr/local/opt/gsoap/share/gsoap/plugin
c-sources:
dist/build/libcybs/CybsSoapClient.cpp
dist/build/libcybs/soapC.cpp
dist/build/libcybs/soapClient.cpp
dist/build/libcybs/wsseapi.cpp
dist/build/libcybs/wsaapi.cpp
dist/build/libcybs/smdevp.cpp
dist/build/libcybs/mecevp.cpp
if os(darwin)
c-sources: dist/build/libcybs/soapITransactionProcessorProxy.cpp
extra-libraries:
gsoapssl++
, crypto
, ssl
, z
if os(darwin)
extra-lib-dirs: /usr/local/opt/gsoap/lib
executable api-tester
default-language: Haskell2010
main-is: FP/Merchant/Processor/ApiTester.hs
ghc-options: -Wall -threaded
if os(darwin)
ghc-options: -pgml clang++
else
ghc-options: -pgml g++
cc-options: -std=c++11
ld-options: -std=c++11
if flag(hpc)
ghc-options: -fhpc -hpcdir dist/hpc
if flag(dev)
cpp-options: -DDEVELOPMENT
build-depends:
base
, merchant
, cybersource
, aeson
, bytestring
, conduit
, containers
, esqueleto >= 1.2.4
, failure
, fast-logger
, http-conduit
, lifted-base
, monad-extras
, monad-logger
, old-locale
, persistent
, persistent-template
-- jww (2013-07-12): remove
, persistent-sqlite
, persistent-postgresql
, resourcet
, system-fileio
, system-filepath
, template-haskell
, text
, time
, time-recurrence
, transformers
, xml-conduit