pcre-ocaml / _oasis

OASISFormat:      0.3
Name:             pcre-ocaml
Version:          7.0.2
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.3), StdFiles (0.3), DevFiles (0.3)
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.3)
  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)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.