diff options
Diffstat (limited to 'xdelta.cabal')
-rw-r--r-- | xdelta.cabal | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/xdelta.cabal b/xdelta.cabal new file mode 100644 index 0000000..09f9b87 --- /dev/null +++ b/xdelta.cabal | |||
@@ -0,0 +1,36 @@ | |||
1 | cabal-version: 2.2 | ||
2 | name: xdelta | ||
3 | version: 3.1.0 | ||
4 | synopsis: VCDIFF encoder/decoder. | ||
5 | -- description: | ||
6 | homepage: xdelta.org | ||
7 | license: Apache-2.0 | ||
8 | license-file: xdelta3/LICENSE | ||
9 | author: Joe Crayne | ||
10 | maintainer: joe@jerkface.net | ||
11 | category: Data | ||
12 | build-type: Simple | ||
13 | |||
14 | extra-source-files: xdelta3/*.h xdelta3/*.c | ||
15 | |||
16 | library | ||
17 | exposed-modules: Data.VCDIFF.Types | ||
18 | , Data.VCDIFF | ||
19 | , Data.Primitive.ByteArray.Util | ||
20 | |||
21 | build-tools: hsc2hs | ||
22 | include-dirs: haskell . | ||
23 | cpp-options: -DNOT_MAIN=1 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DXD3_DEBUG=0 -DHAVE_CONFIG | ||
24 | cxx-options: -Wno-literal-suffix -g | ||
25 | cxx-sources: haskell/xdelta3.cc | ||
26 | |||
27 | hs-source-dirs: haskell | ||
28 | build-depends: base >=4.9, bytestring, text, primitive >=0.6.2, containers | ||
29 | default-language: Haskell2010 | ||
30 | ghc-options: -Wmissing-signatures | ||
31 | |||
32 | executable testdiff | ||
33 | main-is: examples/testdiff.hs | ||
34 | other-modules: Text.XXD | ||
35 | hs-source-dirs: haskell examples . | ||
36 | build-depends: base, bytestring, memory, xdelta | ||