[Pkg-ocaml-maint-commits] [SCM] react packaging branch, master, updated. upstream/0.9.0-6-g4a79150

Stephane Glondu steph at glondu.net
Wed Jun 10 20:14:49 UTC 2009


The following commit has been merged in the master branch:
commit 06ee2eea879feec73c3ce1ec29c2b340d5cd8dba
Author: Stephane Glondu <steph at glondu.net>
Date:   Wed Jun 10 21:35:51 2009 +0200

    Add a binary package with plugins

diff --git a/debian/control b/debian/control
index 95f52f6..202169f 100644
--- a/debian/control
+++ b/debian/control
@@ -17,6 +17,7 @@ Package: libreact-ocaml-dev
 Architecture: any
 Depends:
  ocaml-nox-${F:OCamlABI},
+ libreact-ocaml,
  ${shlibs:Depends},
  ${misc:Depends}
 Recommends: ocaml-findlib
@@ -25,3 +26,20 @@ Description: functional reactive programming in OCaml
  It provides support to program with time varying values:
  applicative events and signals. React doesn't define any primitive
  event or signal, this lets the client chooses the concrete timeline.
+ .
+ This package contains development files of React.
+
+Package: libreact-ocaml
+Architecture: any
+Depends:
+ ocaml-nox-${F:OCamlABI},
+ ${shlibs:Depends},
+ ${misc:Depends}
+Recommends: ocaml-findlib
+Description: functional reactive programming in OCaml (plugins)
+ React is an OCaml module for functional reactive programming.
+ It provides support to program with time varying values:
+ applicative events and signals. React doesn't define any primitive
+ event or signal, this lets the client chooses the concrete timeline.
+ .
+ This package contains dynamically loadable plugins of React.
diff --git a/debian/libreact-ocaml-dev.install.in b/debian/libreact-ocaml-dev.install.in
index 34b7cb0..2079649 100644
--- a/debian/libreact-ocaml-dev.install.in
+++ b/debian/libreact-ocaml-dev.install.in
@@ -1,7 +1,5 @@
 _build/src/react.mli        @OCamlStdlibDir@/react
 _build/src/react.cmi        @OCamlStdlibDir@/react
-_build/src/react.cmo        @OCamlStdlibDir@/react
 OPT: _build/src/react.cmx   @OCamlStdlibDir@/react
 OPT: _build/src/react.o     @OCamlStdlibDir@/react
-src/META                    @OCamlStdlibDir@/react
 doc/*.html                  /usr/share/doc/libreact-ocaml-dev/html
diff --git a/debian/libreact-ocaml.install.in b/debian/libreact-ocaml.install.in
new file mode 100644
index 0000000..6746652
--- /dev/null
+++ b/debian/libreact-ocaml.install.in
@@ -0,0 +1,3 @@
+_build/src/react.cmo        @OCamlStdlibDir@/react
+OPT: _build/src/react.cmxs  @OCamlStdlibDir@/react
+src/META                    @OCamlStdlibDir@/react
diff --git a/debian/rules b/debian/rules
index 796bf32..b383e81 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,6 +15,9 @@ override_dh_auto_configure: ocamlinit-stamp $(QUILT_STAMPFN)
 .PHONY: override_dh_auto_build
 override_dh_auto_build:
 	$(OCAMLBUILD) $(TARGETS)
+ifneq ($(OCAML_OPT_ARCH),)
+	ocamlopt -shared -o _build/src/react.cmxs _build/src/react.cmx
+endif
 
 .PHONY: override_dh_auto_clean
 override_dh_auto_clean: ocamlinit-clean

-- 
react packaging



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