X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=META.in;h=6e996692e1259e216f0c0f0154a69c52c2e1ff30;hb=64bcd448dc8787b82828a49edb709436ec2de93d;hp=886952e85dd5eee96f1faa3c70d55b98ceb3f18f;hpb=1dfd452b1b044fbd7e3a9e7907ab96c82a87548d;p=ocaml-bitstring.git diff --git a/META.in b/META.in index 886952e..6e99669 100644 --- 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" )