This patch adds the framework for including C code in bitstring.
[ocaml-bitstring.git] / META.in
diff --git a/META.in b/META.in
index 886952e..6e99669 100644 (file)
--- a/META.in
+++ b/META.in
@@ -1,13 +1,22 @@
-name="bitmatch"
-version="@PACKAGE_VERSION@"
-description="Bitstrings and bitstring matching"
-archive(byte)="bitmatch.cma"
-archive(native)="bitmatch.cmxa"
+name = "bitstring"
+version = "@PACKAGE_VERSION@"
+description = "Bitstrings and bitstring matching"
+requires = "unix"
+archive(byte) = "bitstring.cma"
+archive(native) = "bitstring.cmxa"
+
+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" (
-  requires = "camlp4.quotations.o"
   version = "@PACKAGE_VERSION@"
-  description = "Syntax extension: bitmatch operators"
-  archive(syntax,preprocessor) = "pa_bitmatch.cmo"
-  archive(syntax,toploop) = "pa_bitmatch.cmo"
+  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"
 )