From 72edf82d5acce1f361771d7d2c70e7ffbfe7f009 Mon Sep 17 00:00:00 2001 From: Joe Crayne Date: Fri, 26 Oct 2018 02:22:55 -0400 Subject: Match cabal file with package name. --- xdelta.cabal | 36 ++++++++++++++++++++++++++++++++++++ xdelta3.cabal | 36 ------------------------------------ 2 files changed, 36 insertions(+), 36 deletions(-) create mode 100644 xdelta.cabal delete mode 100644 xdelta3.cabal diff --git a/xdelta.cabal b/xdelta.cabal new file mode 100644 index 0000000..09f9b87 --- /dev/null +++ b/xdelta.cabal @@ -0,0 +1,36 @@ +cabal-version: 2.2 +name: xdelta +version: 3.1.0 +synopsis: VCDIFF encoder/decoder. +-- description: +homepage: xdelta.org +license: Apache-2.0 +license-file: xdelta3/LICENSE +author: Joe Crayne +maintainer: joe@jerkface.net +category: Data +build-type: Simple + +extra-source-files: xdelta3/*.h xdelta3/*.c + +library + exposed-modules: Data.VCDIFF.Types + , Data.VCDIFF + , Data.Primitive.ByteArray.Util + + build-tools: hsc2hs + include-dirs: haskell . + cpp-options: -DNOT_MAIN=1 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DXD3_DEBUG=0 -DHAVE_CONFIG + cxx-options: -Wno-literal-suffix -g + cxx-sources: haskell/xdelta3.cc + + hs-source-dirs: haskell + build-depends: base >=4.9, bytestring, text, primitive >=0.6.2, containers + default-language: Haskell2010 + ghc-options: -Wmissing-signatures + +executable testdiff + main-is: examples/testdiff.hs + other-modules: Text.XXD + hs-source-dirs: haskell examples . + build-depends: base, bytestring, memory, xdelta diff --git a/xdelta3.cabal b/xdelta3.cabal deleted file mode 100644 index 09f9b87..0000000 --- a/xdelta3.cabal +++ /dev/null @@ -1,36 +0,0 @@ -cabal-version: 2.2 -name: xdelta -version: 3.1.0 -synopsis: VCDIFF encoder/decoder. --- description: -homepage: xdelta.org -license: Apache-2.0 -license-file: xdelta3/LICENSE -author: Joe Crayne -maintainer: joe@jerkface.net -category: Data -build-type: Simple - -extra-source-files: xdelta3/*.h xdelta3/*.c - -library - exposed-modules: Data.VCDIFF.Types - , Data.VCDIFF - , Data.Primitive.ByteArray.Util - - build-tools: hsc2hs - include-dirs: haskell . - cpp-options: -DNOT_MAIN=1 -DREGRESSION_TEST=1 -DSECONDARY_DJW=1 -DSECONDARY_FGK=1 -DXD3_MAIN=1 -DXD3_DEBUG=0 -DHAVE_CONFIG - cxx-options: -Wno-literal-suffix -g - cxx-sources: haskell/xdelta3.cc - - hs-source-dirs: haskell - build-depends: base >=4.9, bytestring, text, primitive >=0.6.2, containers - default-language: Haskell2010 - ghc-options: -Wmissing-signatures - -executable testdiff - main-is: examples/testdiff.hs - other-modules: Text.XXD - hs-source-dirs: haskell examples . - build-depends: base, bytestring, memory, xdelta -- cgit v1.2.3