[Pkg-ocaml-maint-commits] r2202 - trunk/packages/xml-light/trunk/debian

Sylvain LE GALL gildor-guest at costa.debian.org
Fri Dec 2 00:05:35 UTC 2005


Author: gildor-guest
Date: 2005-12-02 00:05:35 +0000 (Fri, 02 Dec 2005)
New Revision: 2202

Added:
   trunk/packages/xml-light/trunk/debian/control.in
Modified:
   trunk/packages/xml-light/trunk/debian/control
   trunk/packages/xml-light/trunk/debian/rules
Log:
Prepare to release -- SLG


Modified: trunk/packages/xml-light/trunk/debian/control
===================================================================
--- trunk/packages/xml-light/trunk/debian/control	2005-12-01 23:56:25 UTC (rev 2201)
+++ trunk/packages/xml-light/trunk/debian/control	2005-12-02 00:05:35 UTC (rev 2202)
@@ -2,12 +2,12 @@
 Section: libdevel
 Priority: optional
 Maintainer: Sylvain Le Gall <sylvain.le-gall at polytechnique.org>
-Build-Depends: debhelper (>> 4.0.0), ocaml-nox-3.08.3, dpatch
+Build-Depends: debhelper (>> 4.0.0), ocaml-nox (>= 3.09.0), dpatch
 Standards-Version: 3.6.2.0
 
 Package: libxml-light-ocaml-dev
 Architecture: any
-Depends: ocaml-nox-3.08.3
+Depends: ocaml-nox-${F:OCamlABI}
 Description: mininal XML parser and printer for OCaml
  This is a XML parser and printer, designed to help parsing basic XML document
  into OCaml data structures and printing it back to a XML document.

Copied: trunk/packages/xml-light/trunk/debian/control.in (from rev 2188, trunk/packages/xml-light/trunk/debian/control)
===================================================================
--- trunk/packages/xml-light/trunk/debian/control	2005-11-29 22:29:10 UTC (rev 2188)
+++ trunk/packages/xml-light/trunk/debian/control.in	2005-12-02 00:05:35 UTC (rev 2202)
@@ -0,0 +1,18 @@
+Source: xml-light
+Section: libdevel
+Priority: optional
+Maintainer: Sylvain Le Gall <sylvain.le-gall at polytechnique.org>
+Build-Depends: debhelper (>> 4.0.0), ocaml-nox (>= #OCamlABI#), dpatch
+Standards-Version: 3.6.2.0
+
+Package: libxml-light-ocaml-dev
+Architecture: any
+Depends: ocaml-nox-${F:OCamlABI}
+Description: mininal XML parser and printer for OCaml
+ This is a XML parser and printer, designed to help parsing basic XML document
+ into OCaml data structures and printing it back to a XML document.
+ .
+ It also supports DTD.
+ .
+ You can find more information about xml-light at
+ http://tech.motion-twin.com/xmllight.html

Modified: trunk/packages/xml-light/trunk/debian/rules
===================================================================
--- trunk/packages/xml-light/trunk/debian/rules	2005-12-01 23:56:25 UTC (rev 2201)
+++ trunk/packages/xml-light/trunk/debian/rules	2005-12-02 00:05:35 UTC (rev 2202)
@@ -6,7 +6,11 @@
 OCAML_LIBDIR=`ocamlc -where`
 VERSION=$(shell dpkg-parsechangelog | \
 	awk "/Version: .*/ { gsub(\"Version: \",\"\"); gsub(\"-.*\",\"\"); print; }")
+OCAMLABI=$(shell ocamlc -version)
 
+debian/control: debian/control.in
+	sed -e 's%#OCamlABI#%$(OCAMLABI)%' $@.in >$@
+
 build: build-stamp
 build-stamp: patch-stamp
 	dh_testdir
@@ -60,7 +64,7 @@
 	dh_fixperms -a
 	dh_installdeb -a
 	dh_shlibdeps -a 
-	dh_gencontrol -a
+	dh_gencontrol -a -- -VF:OCamlABI="$(OCAMLABI)"
 	dh_md5sums -a 
 	dh_builddeb -a
 




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