The following commit has been merged in the master branch:
commit 22d5210c84926955e866b076db2efd2d3017d499
Author: Stephane Glondu <st...@glondu.net>
Date:   Thu Nov 24 07:13:38 2011 +0100

    Add new binary package: libderiving-ocaml

diff --git a/debian/control b/debian/control
index 0de541f..9fb90bd 100644
--- a/debian/control
+++ b/debian/control
@@ -24,7 +24,7 @@ Depends:
  ${misc:Depends}
 Provides: ${ocaml:Provides}
 Recommends: ocaml-findlib
-Description: OCaml bytecode to JavaScript compiler
+Description: OCaml bytecode to JavaScript compiler (development files)
  Js_of_ocaml is a compiler of OCaml bytecode to JavaScript. It makes
  it possible to run OCaml programs in a web browser. Its key features
  are the following:
@@ -38,6 +38,30 @@ Description: OCaml bytecode to JavaScript compiler
  .
  This package contains the compiler itself.
 
+Package: libjs-of-ocaml
+Architecture: any
+Depends:
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Provides: ${ocaml:Provides}
+Recommends: ocaml-findlib
+Description: OCaml bytecode to JavaScript compiler (runtime)
+ Js_of_ocaml is a compiler of OCaml bytecode to JavaScript. It makes
+ it possible to run OCaml programs in a web browser. Its key features
+ are the following:
+  * the whole language, and most of the standard library are
+    supported;
+  * the generated code can be used with any web server and browser;
+  * you can use a standard installation of OCaml to compile your
+    programs. In particular, you do not have to recompile a library to
+    use it with Js_of_ocaml. You just have to link your program with a
+    specific library to interface with the browser APIs.
+ .
+ This package contains runtime libraries that may be needed by
+ server-side programs communicating with clients compiled with
+ Js_of_ocaml using JSON.
+
 Package: libjs-of-ocaml-doc
 Section: doc
 Architecture: all
diff --git a/debian/libjs-of-ocaml-dev.install.in 
b/debian/libjs-of-ocaml-dev.install.in
index 3892419..f6dd29b 100644
--- a/debian/libjs-of-ocaml-dev.install.in
+++ b/debian/libjs-of-ocaml-dev.install.in
@@ -1,3 +1,6 @@
-@OCamlStdlibDir@/js_of_ocaml
-@OCamlDllDir@/*.so
+@OCamlStdlibDir@/js_of_ocaml/*.js
+@OCamlStdlibDir@/js_of_ocaml/*.a
+@OCamlStdlibDir@/js_of_ocaml/*.cmi
+@OCamlStdlibDir@/js_of_ocaml/pa_*.cmo
+OPT: @OCamlStdlibDir@/js_of_ocaml/*.cmxa
 usr/bin
diff --git a/debian/libjs-of-ocaml.install.in b/debian/libjs-of-ocaml.install.in
new file mode 100644
index 0000000..cdbcccc
--- /dev/null
+++ b/debian/libjs-of-ocaml.install.in
@@ -0,0 +1,4 @@
+@OCamlDllDir@/*.so
+@OCamlStdlibDir@/js_of_ocaml/META
+@OCamlStdlibDir@/js_of_ocaml/*.cma
+DYN: @OCamlStdlibDir@/js_of_ocaml/*.cmxs

-- 
js-of-ocaml packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
Pkg-ocaml-maint-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to