[Pkg-ocaml-maint-commits] [SCM] Cooperative light-weight thread library for OCaml branch, master, updated. debian/2.1.1-1-24-gb997c79
Nicolas Dandrimont
Nicolas.Dandrimont at crans.org
Sat Apr 23 12:56:41 UTC 2011
The following commit has been merged in the master branch:
commit 3c432817ded723ee26e5f7d38efe1d284668d198
Author: Nicolas Dandrimont <Nicolas.Dandrimont at crans.org>
Date: Sat Apr 23 14:44:44 2011 +0200
Install .cmxs and .cma files in the library packages
diff --git a/debian/changelog b/debian/changelog
index a763b56..71b6d02 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,8 +8,10 @@ lwt (2.3.0-1) UNRELEASED; urgency=low
[ Nicolas Dandrimont ]
* Update to upstream release 2.3.0
+ * Install the .cmxs and .cma files in the library packages
+ * Add package liblwt-ssl-ocaml (Cooperative OpenSSL bindings runtime)
- -- Nicolas Dandrimont <nicolas.dandrimont at crans.org> Mon, 18 Apr 2011 18:45:37 +0200
+ -- Nicolas Dandrimont <nicolas.dandrimont at crans.org> Tue, 19 Apr 2011 10:31:24 +0200
lwt (2.1.1-1) unstable; urgency=low
diff --git a/debian/control b/debian/control
index 36de8bd..4ef95dd 100644
--- a/debian/control
+++ b/debian/control
@@ -90,6 +90,25 @@ Description: cooperative OpenSSL bindings for OCaml
This package contains all the development stuff you need to use Lwt
with cooperative OpenSSL in your programs.
+Package: liblwt-ssl-ocaml
+Architecture: any
+Depends:
+ ${ocaml:Depends},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Provides: ${ocaml:Provides}
+Replaces: liblwt-ocaml-dev (<= 2.0.0)
+Breaks: liblwt-ocaml-dev (<= 2.0.0)
+Description: cooperative OpenSSL bindings for OCaml (runtime)
+ Lwt is a library of cooperative threads implemented in monadic style.
+ With respect to preemptive threads, cooperative threads are not using
+ a scheduler to distribute processor time between threads. Instead of
+ this, each thread must tell the others that he wants to let them
+ work.
+ .
+ This package contains runtime libraries for programs using Lwt with
+ cooperative OpenSSL.
+
Package: liblwt-glib-ocaml-dev
Architecture: any
Depends:
diff --git a/debian/modules.ml b/debian/modules.ml
index 69f80c8..1571cca 100644
--- a/debian/modules.ml
+++ b/debian/modules.ml
@@ -45,12 +45,13 @@ let print_cma () cma =
let flags = [Open_creat; Open_append] in
let dev = open_out_gen flags 0o644 (Printf.sprintf "debian/liblwt%s-ocaml-dev.install" component) in
let runtime = open_out_gen flags 0o644 (Printf.sprintf "debian/liblwt%s-ocaml.install" component) in
- let () = Printf.fprintf dev "%s\n" (chop_prefix cma) in
+ let () = Printf.fprintf runtime "%s\n" (chop_prefix cma) in
let () =
let x = Filename.chop_suffix cma ".cma" in
if is_native then begin
Printf.fprintf dev "%s\n" (chop_prefix x ^ ".cmxa");
Printf.fprintf dev "%s\n" (chop_prefix x ^ ".a");
+ Printf.fprintf runtime "%s\n" (chop_prefix x ^ ".cmxs");
end
in
let dlls, modules =
--
Cooperative light-weight thread library for OCaml
More information about the Pkg-ocaml-maint-commits
mailing list