The following commit has been merged in the master branch:
commit 4c8f38083e2636bce00631a0dbb51acbf07b4705
Author: Stephane Glondu <[email protected]>
Date:   Wed Oct 6 14:48:51 2010 +0200

    Switch to dh-ocaml 0.9

diff --git a/debian/control b/debian/control
index 71f447e..f3e402c 100644
--- a/debian/control
+++ b/debian/control
@@ -7,15 +7,15 @@ Uploaders:
  Pietro Abate <[email protected]>
 Build-Depends:
  debhelper (>= 7.2.11~),
- dh-ocaml,
- ocaml-nox (>= 3.11.0),
+ dh-ocaml (>= 0.9~),
+ ocaml-nox (>= 3.11.1-3~),
  camlp4-extra,
  ocaml-source (>= 3.11.0),
- libpcre-ocaml-dev,
- libocamlnet-ocaml-dev,
- libexpat-ocaml-dev,
- libcurl-ocaml-dev (>= 0.5.1),
- ocaml-ulex,
+ libpcre-ocaml-dev (>= 6.0.1-2~),
+ libocamlnet-ocaml-dev (>= 2.2.9-7~),
+ libexpat-ocaml-dev (>= 0.9.1+debian1-6~),
+ libcurl-ocaml-dev (>= 0.5.1-2~),
+ ocaml-ulex (>= 1.1-2~),
  chrpath,
  bzip2
 Standards-Version: 3.8.1
@@ -25,7 +25,8 @@ Vcs-Browser: 
http://git.debian.org/?p=pkg-ocaml-maint/packages/cduce.git
 
 Package: cduce
 Architecture: any
-Depends: ocaml-nox-${F:OCamlABI}, ocaml-ulex, libocamlnet-ocaml-dev, 
libexpat-ocaml-dev, libcurl-ocaml-dev, ${shlibs:Depends}
+Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Provides: ${ocaml:Provides}
 Description: programming language adapted to the manipulation of XML data
  CDuce is a modern programming language adapted to the manipulation of
  XML documents.
diff --git a/debian/rules b/debian/rules
index c758d22..eaf2827 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,3 +45,7 @@ override_dh_auto_install:
        # CDuce Makefile installs all the documentation in DOCDIR, including
        # README, LICENSE, and so on. We don't want these. Let's hack.
        find $(DOCDIR) -maxdepth 1 -not -name "*.html" -not -name "img" -exec 
rm {} \;
+
+.PHONY: override_dh_ocaml
+override_dh_ocaml:
+       dh_ocaml --runtime-map cduce
\ No newline at end of file

-- 
cduce packaging

_______________________________________________
Pkg-ocaml-maint-commits mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-ocaml-maint-commits

Reply via email to