The META file for this simple kind of package looks like:
requires = "unix str q r s" version = "the version string" archive(byte) = "p.cma" archive(native) = "p.cmxa"
If you know all that, it will be simple to write such a file by hand. However, if you get third-party software, and you want to include it into your package base, the META file is no longer obvious. Especially for this case there is the ocamlfind guess command that tries to guess META from a set of files. Invoke it as follows:
ocamlfind guess pkgname file ... >METAThe first argument pkgname must be the package name. The other arguments should be the .cmi, .cma, and .cmxa files of the compiled library.
I hope that the result of that is not too bad.