packages feed

pcre-light-0.4.0.4: pcre-light.cabal

name: pcre-light
version: 0.4.0.4
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).
    .
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:      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

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

    pkgconfig-depends: libpcre