-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbzlib.cabal
57 lines (54 loc) · 2.17 KB
/
bzlib.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
name: bzlib
version: 0.5.1.0
copyright: (c) 2006-2015 Duncan Coutts
license: BSD3
license-file: LICENSE
author: Duncan Coutts <[email protected]>
maintainer: Duncan Coutts <[email protected]>
category: Codec
synopsis: Compression and decompression in the bzip2 format
description: This package provides a pure interface for compressing and
decompressing streams of data represented as lazy
'ByteString's. It uses the bz2 C library so it has high
performance.
.
It provides a convenient high level API suitable for most
tasks and for the few cases where more control is needed it
provides access to the full bzip2 feature set.
build-type: Simple
cabal-version: >= 1.10
extra-source-files: cbits/bzlib_private.h cbits/LICENSE
-- demo programs:
examples/bzip2.hs examples/bunzip2.hs
-- changelog
CHANGELOG.md
source-repository head
type: darcs
location: http://code.haskell.org/bzlib/
source-repository this
type: git
location: https://github.com/hackage-trustees/bzlib.git
tag: 0.5.1.0
library
default-language: Haskell2010
exposed-modules: Codec.Compression.BZip,
Codec.Compression.BZip.Internal
other-modules: Codec.Compression.BZip.Stream
default-extensions: CPP, ForeignFunctionInterface
build-depends: base >= 4.3 && < 4.16,
bytestring == 0.9.* || == 0.10.*
if !impl(ghc >=8.0)
build-depends: fail ==4.9.*
includes: bzlib.h
ghc-options: -Wall
if !os(windows)
-- Normally we use the the standard system bz2 lib:
extra-libraries: bz2
else
-- However for the benefit of users of Windows (which does not have zlib
-- by default) we bundle a complete copy of the C sources of bzip2-1.0.6
c-sources: cbits/blocksort.c cbits/bzlib.c cbits/compress.c
cbits/crctable.c cbits/decompress.c cbits/huffman.c
cbits/randtable.c
include-dirs: cbits
install-includes: bzlib.h