File: bindings-libzip.cabal

package info (click to toggle)
haskell-bindings-libzip 0.11-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 64 kB
  • sloc: haskell: 3; makefile: 2
file content (42 lines) | stat: -rw-r--r-- 1,050 bytes parent folder | download
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
Name:                bindings-libzip
Version:             0.11
Synopsis:            Low level bindings to libzip.
Description:
  This package provides low-level bindings to libzip (v0.11) library.
  For higher-level interface please use LibZip package:
  <http://hackage.haskell.org/package/LibZip>

Homepage:            http://bitbucket.org/astanin/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

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 && < 5.0
      , bindings-DSL >= 1.0 && < 1.1

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

  GHC-Options:
        -Wall -fno-warn-unused-imports