packages feed

pcre-light-0.4.0.2: pcre-light.cabal

name:            pcre-light
version:         0.4.0.2
homepage:        https://github.com/Daniel-Diaz/pcre-light
synopsis:        A small, efficient and 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.
    .
    Test coverage data for this library is available at:
        <http://code.haskell.org/~dons/tests/pcre-light/hpc_index.html>
    .
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.2.0
build-type:      Configure
tested-with:     GHC == 7.8.2
extra-source-files: configure, pcre-light.buildinfo.in, README.md
extra-tmp-files:    pcre-light.buildinfo

flag old_base
  description: Build with an old version of base (< 3)
  default:     False

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

    extra-libraries: pcre