This repository has been archived by the owner on Sep 12, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
pcre-light.cabal
65 lines (57 loc) · 1.89 KB
/
pcre-light.cabal
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
name: pcre-light
version: 0.4.1.1
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 <[email protected]>
author: Don Stewart
maintainer: Daniel Díaz <[email protected]>
cabal-version: >= 1.8.0
build-type: Simple
tested-with: GHC == 7.10, GHC == 8.0, GHC == 8.4, GHC == 8.6, GHC == 8.8
extra-source-files:
README.md
ChangeLog.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