pcre-light-0.4.1.0: pcre-light.cabal
name: pcre-light
version: 0.4.1.0
homepage: https://github.com/Daniel-Diaz/pcre-light
synopsis: Portable regex library for Perl 5 compatible regular expressions
description:
A small, efficient and portable regex library for Perl 5 compatible regular expressions
.
The PCRE library is a set of functions that implement regular
expression pattern matching using the same syntax and semantics as Perl 5.
.
If installation fails reporting that you are missing the prce C library, try installing
the @libpcre3-dev@ package (linux) or @brew install pcre@ (MacOS).
.
category: Text
license: BSD3
license-file: LICENSE
copyright: (c) 2007-2010. Don Stewart <dons@galois.com>
author: Don Stewart
maintainer: Daniel Díaz <dhelta.diaz@gmail.com>
cabal-version: >= 1.8.0
build-type: Simple
tested-with: GHC == 7.8.3
extra-source-files: README.md
flag old_base
description: Build with an old version of base (< 3)
default: False
flag use-pkg-config
default: False
manual: True
library
exposed-modules: Text.Regex.PCRE.Light
Text.Regex.PCRE.Light.Char8
Text.Regex.PCRE.Light.Base
extensions: CPP, ForeignFunctionInterface
if flag(old_base)
build-depends: base < 3
else
build-depends: base >= 3 && <= 5, bytestring >= 0.9
if flag(use-pkg-config)
pkgconfig-depends: libpcre
else
extra-Libraries: pcre
test-suite unit
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Unit.hs
if flag(old_base)
build-depends: base < 3
else
build-depends:
base >= 3 && <= 5
, bytestring >= 0.9
, containers >= 0.5.5.1
, HUnit >= 1.2.5.2
, mtl >= 2.1.3.2
, pcre-light