~ubuntu-branches/ubuntu/trusty/pcre-ocaml/trusty

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
OASISFormat:      0.4
Name:             pcre-ocaml
Version:          7.0.4
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-2012 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.3.1
Homepage:         https://bitbucket.org/mmottl/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
  CSources:       pcre_stubs.c
  CCOpt:          -g -O2 -fPIC -DPIC
  if flag(strict) && ccomp_type(cc)
    CCOpt+:       -Wall -pedantic -Wextra -Wunused -Wno-long-long


# 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 trunk
  Type:       hg
  Location:   ssh://hg@bitbucket.org/mmottl/pcre-ocaml
  Browser:    https://bitbucket.org/mmottl/pcre-ocaml
  Tag:        release-$(pkg_version)