Source

pcap / pcap.cabal

name:            pcap
version:         0.4.5.2
license:         BSD3
license-file:    LICENSE
synopsis:        A system-independent interface for user-level packet capture
description:     A system-independent interface for user-level packet capture
maintainer:      Bryan O'Sullivan <bos@serpentine.com>
author:          Bryan O'Sullivan, Nick Burlett, Dominic Steinitz, Gregory Wright (original author)
homepage:        https://github.com/bos/pcap
bug-reports:     https://github.com/bos/pcap/issues
category:        Network
cabal-version:   >= 1.6
extra-source-files:
                 configure.ac configure include/pcapconfig.h.in
                 pcap.buildinfo.in README.markdown
extra-tmp-files: config.log config.status
build-type:      Configure

library
  build-depends: base < 5, bytestring >= 0.9, network, time
  if impl(ghc >= 6.10)
    build-depends: base >= 4

  exposed-modules: Network.Pcap.Base
                   Network.Pcap
  extensions:      ForeignFunctionInterface, CPP
  ghc-options:     -Wall -funbox-strict-fields

  include-dirs:    include
  includes:        pcapconfig.h pcap.h
  install-includes: pcapconfig.h

source-repository head
  type:     git
  location: git://github.com/bos/pcap.git

source-repository head
  type:     mercurial
  location: https://bitbucket.org/bos/pcap