# -*- conf -*-
name = "text"
version = "0.6"
browse_interfaces = "Text Encoding"
description = "Character encodings and UTF-8 text manipulation"
archive(byte) = "text.cma"
archive(native) = "text.cmxa"

package "pcre" (
  exists_if = "text-pcre.cma"
  version = "0.6"
  description = "Syntactic sugars for regular expression using PCRE"
  requires = "text pcre camlp4"
  archive(byte) = "text-pcre.cma"
  archive(native) = "text-pcre.cmxa"
  archive(syntax,preprocessor) = "text.cma text-pcre-syntax.cma"
  archive(syntax,toploop) += "text-pcre-syntax.cma"
)

package "bigarray" (
  exists_if = "text-bigarray.cma"
  version = "0.6"
  description = "Encoding/decoding to/from bigarrays"
  requires = "text bigarray"
  archive(byte) = "text-bigarray.cma"
  archive(native) = "text-bigarray.cmxa"
)
