packages feed

bindings-libzip-0.1.0.4: bindings-libzip.cabal

Name:                bindings-libzip
Version:             0.1.0.4
Synopsis:            Low level bindings to libzip.
Description:
  This package provides low-level bindings to libzip library.
  For higher-level interface please use LibZip package:
  <http://hackage.haskell.org/package/LibZip>

Homepage:            http://bitbucket.org/jetxee/hs-libzip/
License:             BSD3
License-file:        LICENSE
Author:              Sergey Astanin
Maintainer:          s.astanin@gmail.com
Category:            FFI, Foreign

Build-type:          Simple

Cabal-version:       >=1.2.3
Tested-with:         GHC == 7.0.1, GHC == 7.2.1, GHC == 7.4.1

Flag NoPkgConfig
  Description: Do not use pkg-config to check for library dependencies.
  Default: False

Library
  Extensions:
        ForeignFunctionInterface

  Exposed-modules:
        Bindings.LibZip

  Build-Depends:
        base >= 4.0 && < 4.6
      , bindings-DSL >= 1.0 && < 1.1

  if flag(NoPkgConfig)
    Includes: zip.h
    Extra-Libraries: zip z
  else
    PkgConfig-Depends: libzip >= 0.9

  GHC-Options:
        -Wall