-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 = "bitstring"
+version = "@PACKAGE_VERSION@"
+description = "Bitstrings and bitstring matching"
+requires = "unix"
+archive(byte) = "bitstring.cma"
+archive(native) = "bitstring.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 = "bitstring"
+ version = "@PACKAGE_VERSION@"
+ description = "Persistent patterns for bitstring (requires camlp4)"
+ archive(byte) = "bitstring_persistent.cma"
+ archive(native) = "bitstring_persistent.cmxa"
+)
+
+package "syntax" (
+ version = "@PACKAGE_VERSION@"
+ description = "Syntax extension: bitstring operators"
+ archive(syntax,preprocessor) = "unix.cma bitstring.cma bitstring_persistent.cma pa_bitstring.cmo"
+ archive(syntax,toploop) = "unix.cma bitstring.cma bitstring_persistent.cma pa_bitstring.cmo"
+ preprocessor = "camlp4of"
)