postgresql-ocaml / _oasis

OASISFormat:      0.3
Name:             postgresql-ocaml
Version:          2.0.0
Synopsis:         postgresql-ocaml - bindings to the PostgreSQL library
Description:      postgresql-ocaml offers library functions for accessing PostgreSQL databases
Authors:          Alain Frisch <alain.frisch@lexifi.com>,
                  Markus Mottl <markus.mottl@gmail.com>
Copyrights:       (C) 2001-2012 Alain Frisch <alain.frisch@lexifi.com>,
                  (C) 2004-2012 Markus Mottl <markus.mottl@gmail.com>
Maintainers:      Markus Mottl <markus.mottl@gmail.com>,
                  Alain Frisch <alain.frisch@lexifi.com>
LicenseFile:      COPYING.txt
License:          LGPL-2.1+ with OCaml linking exception
OCamlVersion:     >= 3.12
FindlibVersion:   >= 1.3.2
Homepage:         https://bitbucket.org/mmottl/postgresql-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 postgresql
  Path:           lib
  FindlibName:    postgresql
  Modules:        Postgresql
  CSources:       postgresql_stubs.c
  CCOpt:          -g -O2 -fPIC -DPIC
  if flag(strict) && ccomp_type(cc)
    CCOpt+:       -Wall -pedantic -Wextra -Wunused -Wno-long-long
  CCLib:          -lpq
  BuildDepends:   threads, bigarray


# Examples

Flag examples
  Description:    Build examples
  Default:        true

Executable cursor
  Path:           examples
  MainIs:         cursor.ml
  Build$:         flag(examples)
  BuildDepends:   postgresql
  Install:        false
  CompiledObject: best

Executable dump
  Path:           examples
  MainIs:         dump.ml
  Build$:         flag(examples)
  BuildDepends:   postgresql
  Install:        false
  CompiledObject: best

Executable populate
  Path:           examples
  MainIs:         populate.ml
  Build$:         flag(examples)
  BuildDepends:   postgresql
  Install:        false
  CompiledObject: best

Executable prompt
  Path:           examples
  MainIs:         prompt.ml
  Build$:         flag(examples)
  BuildDepends:   postgresql
  Install:        false
  CompiledObject: best

Flag lablgtk2
  Description:    Build applications depending on lablgtk2
  Default:        false

Executable prompt_gtk
  Path:           examples
  MainIs:         prompt_gtk.ml
  Build$:         flag(examples) && flag(lablgtk2)
  BuildDepends:   postgresql, lablgtk2
  Install:        false
  CompiledObject: best

Executable test_lo
  Path:           examples
  MainIs:         test_lo.ml
  Build$:         flag(examples)
  BuildDepends:   postgresql
  Install:        false
  CompiledObject: best

#

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

SourceRepository trunk
  Type:       hg
  Location:   ssh://hg@bitbucket.org/mmottl/postgresql-ocaml
  Browser:    https://bitbucket.org/mmottl/postgresql-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.