bzlib-0.5.0.3: bzlib.cabal
name: bzlib
version: 0.5.0.3
copyright: (c) 2006-2011 Duncan Coutts
license: BSD3
license-file: LICENSE
author: Duncan Coutts <duncan@community.haskell.org>
maintainer: Duncan Coutts <duncan@community.haskell.org>
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.6
extra-source-files: cbits/bzlib_private.h cbits/LICENSE
-- demo programs:
examples/bzip2.hs examples/bunzip2.hs
source-repository head
type: darcs
location: http://code.haskell.org/bzlib/
library
exposed-modules: Codec.Compression.BZip,
Codec.Compression.BZip.Internal
other-modules: Codec.Compression.BZip.Stream
extensions: CPP, ForeignFunctionInterface
build-depends: base >= 3 && < 5,
bytestring == 0.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