File: _oasis

package info (click to toggle)
pcre-ocaml 7.2.3-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 556 kB
  • ctags: 940
  • sloc: ml: 7,479; ansic: 519; makefile: 29
file content (89 lines) | stat: -rw-r--r-- 2,464 bytes parent folder | download | duplicates (2)
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
OASISFormat:      0.4
Name:             pcre
Version:          7.2.3
Synopsis:         pcre-ocaml - bindings to the Perl Compatibility Regular Expressions library
Description:      pcre-ocaml offers library functions for string pattern matching and substitution, similar to the functionality offered by the Perl language.
Authors:          Markus Mottl <markus.mottl@gmail.com>
Copyrights:       (C) 1999-2016 Markus Mottl <markus.mottl@gmail.com>
Maintainers:      Markus Mottl <markus.mottl@gmail.com>
LicenseFile:      COPYING.txt
License:          LGPL-2.1+ with OCaml linking exception
OCamlVersion:     >= 3.12
FindlibVersion:   >= 1.5
Homepage:         http://mmottl.github.io/pcre-ocaml
#Categories:
#FilesAB:

Plugins:          META (0.4), StdFiles (0.4), DevFiles (0.4)
XStdFilesREADME:  false

BuildTools:       ocamldoc, ocamlbuild

Flag strict
  Description:    Strict compile-time checks
  Default:        true

Library pcre
  Path:            lib
  FindlibName:     pcre
  Modules:         Pcre
  InternalModules: Pcre_compat
  CSources:        pcre_stubs.c
  BuildDepends:    bytes
  CCOpt:          -g -O2 -fPIC -DPIC
  if flag(strict) && ccomp_type(cc)
    CCOpt+:       -Wall -pedantic -Wextra -Wunused -Wno-long-long -Wno-keyword-macro


# Examples

Flag examples
  Description:    Build examples
  Default:        true

Executable cloc
  Path:           examples/cloc
  MainIs:         cloc.ml
  Build$:         flag(examples)
  BuildDepends:   pcre
  Install:        false
  CompiledObject: best

Executable count_hash
  Path:           examples/count_hash
  MainIs:         count_hash.ml
  Build$:         flag(examples)
  BuildDepends:   pcre
  Install:        false
  CompiledObject: best

Executable pcregrep
  Path:           examples/pcregrep
  MainIs:         pcregrep.ml
  Build$:         flag(examples)
  BuildDepends:   pcre
  Install:        false
  CompiledObject: best

Executable subst
  Path:           examples/subst
  MainIs:         subst.ml
  Build$:         flag(examples)
  BuildDepends:   pcre
  Install:        false
  CompiledObject: best

#

Document API
  Title:                API reference for PCRE-OCaml
  Type:                 OCamlbuild (0.4)
  InstallDir:           $docdir/api
  XOCamlbuildPath:      .
  XOCamlbuildLibraries: pcre

SourceRepository head
  Type:       Git
  Location:   https://github.com/mmottl/pcre-ocaml.git
  Browser:    https://github.com/mmottl/pcre-ocaml
  Tag:        v$(pkg_version)