[Pkg-ocaml-maint-commits] [SCM] js-of-ocaml packaging branch, master, updated. debian/1.0.7-1-5-g57986e2

Stephane Glondu steph at glondu.net
Thu Nov 24 06:46:55 UTC 2011


The following commit has been merged in the master branch:
commit c831f03b8cb37f130376df023533ba09b3d958da
Author: Stephane Glondu <steph at glondu.net>
Date:   Thu Nov 24 07:34:56 2011 +0100

    Split out a js-of-ocaml binary package

diff --git a/debian/control b/debian/control
index 9fb90bd..ce6f27c 100644
--- a/debian/control
+++ b/debian/control
@@ -16,6 +16,29 @@ Homepage: http://ocsigen.org/js_of_ocaml
 Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/js-of-ocaml.git
 Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/js-of-ocaml.git
 
+Package: js-of-ocaml
+Architecture: any
+Depends:
+ libjs-of-ocaml-dev,
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Provides: ${ocaml:Provides}
+Recommends: ocaml-findlib
+Description: OCaml bytecode to JavaScript compiler (compiler)
+ 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 the compiler itself.
+
 Package: libjs-of-ocaml-dev
 Architecture: any
 Depends:
@@ -36,7 +59,9 @@ Description: OCaml bytecode to JavaScript compiler (development files)
     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 the compiler itself.
+ This package contains development files needed to compile server-side
+ (using regular OCaml compiler) and client-side (using Js_of_ocaml)
+ programs.
 
 Package: libjs-of-ocaml
 Architecture: any
diff --git a/debian/js-of-ocaml.install b/debian/js-of-ocaml.install
new file mode 100644
index 0000000..1e881ed
--- /dev/null
+++ b/debian/js-of-ocaml.install
@@ -0,0 +1 @@
+usr/bin
\ No newline at end of file
diff --git a/debian/libjs-of-ocaml-dev.install.in b/debian/libjs-of-ocaml-dev.install.in
index f6dd29b..d962411 100644
--- a/debian/libjs-of-ocaml-dev.install.in
+++ b/debian/libjs-of-ocaml-dev.install.in
@@ -3,4 +3,3 @@
 @OCamlStdlibDir@/js_of_ocaml/*.cmi
 @OCamlStdlibDir@/js_of_ocaml/pa_*.cmo
 OPT: @OCamlStdlibDir@/js_of_ocaml/*.cmxa
-usr/bin

-- 
js-of-ocaml packaging



More information about the Pkg-ocaml-maint-commits mailing list