-name="pgocaml"
-version="1.1"
-description="PG'OCaml is a set of OCaml bindings for the PostgreSQL database."
-requires="unix,extlib,csv,pcre,calendar"
-archive(byte)="pgocaml.cma"
-archive(native)="pgocaml.cmxa"
+name = "bitmatch"
+version = "@PACKAGE_VERSION@"
+description = "Bitstrings and bitstring matching"
+requires = "unix"
+archive(byte) = "bitmatch.cma"
+archive(native) = "bitmatch.cmxa"
-package "statements" (
- requires = "pgocaml,camlp4"
- version = "1.1"
- description = "Syntax extension: PostgreSQL statements checked at compile-time"
- archive(syntax,preprocessor) = "pa_pgsql.cmo"
- archive(syntax,toploop) = "pa_pgsql.cmo"
+package "persistent" (
+ requires = "bitmatch"
+ version = "@PACKAGE_VERSION@"
+ description = "Persistent patterns for bitmatch (requires camlp4)"
+ archive(byte) = "bitmatch_persistent.cma"
+ archive(native) = "bitmatch_persistent.cmxa"
+)
+
+package "syntax" (
+ version = "@PACKAGE_VERSION@"
+ description = "Syntax extension: bitmatch operators"
+ archive(syntax,preprocessor) = "unix.cma bitmatch.cma bitmatch_persistent.cma pa_bitmatch.cmo"
+ archive(syntax,toploop) = "unix.cma bitmatch.cma bitmatch_persistent.cma pa_bitmatch.cmo"
+ preprocessor = "camlp4of"
)