[Pkg-ocaml-maint-commits] r2467 - trunk/packages/ocamlcreal/trunk/debian

Mike Furr mfurr at costa.debian.org
Tue Jan 10 01:16:01 UTC 2006


Author: mfurr
Date: 2006-01-10 01:16:00 +0000 (Tue, 10 Jan 2006)
New Revision: 2467

Removed:
   trunk/packages/ocamlcreal/trunk/debian/control
Modified:
   trunk/packages/ocamlcreal/trunk/debian/changelog
   trunk/packages/ocamlcreal/trunk/debian/rules
Log:
3.09.1 transition


Modified: trunk/packages/ocamlcreal/trunk/debian/changelog
===================================================================
--- trunk/packages/ocamlcreal/trunk/debian/changelog	2006-01-09 22:45:38 UTC (rev 2466)
+++ trunk/packages/ocamlcreal/trunk/debian/changelog	2006-01-10 01:16:00 UTC (rev 2467)
@@ -1,3 +1,10 @@
+ocamlcreal (0.7-2) unstable; urgency=low
+
+  * Remove hard-coded abi strings
+  * Rebuild for 3.09.1
+
+ -- Mike Furr <mfurr at debian.org>  Mon,  9 Jan 2006 19:45:33 -0500
+
 ocamlcreal (0.7-1) unstable; urgency=low
 
   * New upstream release

Deleted: trunk/packages/ocamlcreal/trunk/debian/control
===================================================================
--- trunk/packages/ocamlcreal/trunk/debian/control	2006-01-09 22:45:38 UTC (rev 2466)
+++ trunk/packages/ocamlcreal/trunk/debian/control	2006-01-10 01:16:00 UTC (rev 2467)
@@ -1,24 +0,0 @@
-Source: ocamlcreal
-Section: libdevel
-Priority: optional
-Maintainer: Mike Furr <mfurr at debian.org>
-Build-Depends: ocaml-nox-3.09.0, debhelper (>= 4.0.0), dpatch, libgmp-ocaml-dev (>= 20021123-5)
-Standards-Version: 3.6.0
-
-Package: libcreal-ocaml-dev
-Architecture: any
-Depends: , ocaml-nox-3.09.0, libgmp-ocaml-dev (>= 20021123-5)
-Description: O'Caml library that implements exact real arithmetic
- This  module  implements  exact  real  arithmetic,  following  Valerie
- Menissier-Morain Ph.D. thesis (http://www-calfor.lip6.fr/~vmm/).
- .
- A  real  x  is  represented  as  a function  giving,  for  any  n,  an
- approximation zn/4^n of x  such that |zn/4^n - x| < 1,  where zn is an
- arbitrary precision integer (of type Gmp.Z.t).
- .
- Coercions from type int, Gmp.Z.t, Gmp.Q.t, basic operations (addition,
- subtraction,  multiplication,   division,  power,  square   root)  and
- transcendental  functions (sin,  cos, tan,  log, exp,  arcsin, arccos,
- etc.) and a few constants (pi, e) are provided.
- .
- A small reverse-polish calculator is provided to test the library.

Modified: trunk/packages/ocamlcreal/trunk/debian/rules
===================================================================
--- trunk/packages/ocamlcreal/trunk/debian/rules	2006-01-09 22:45:38 UTC (rev 2466)
+++ trunk/packages/ocamlcreal/trunk/debian/rules	2006-01-10 01:16:00 UTC (rev 2467)
@@ -3,7 +3,17 @@
 PACKAGE=libcreal-ocaml-dev
 
 include /usr/share/dpatch/dpatch.make
+OCAMLABI = $(shell ocamlc -version)
 
+ABI_FILES = $(wildcard debian/*.in)
+
+.PHONY: transition
+
+transition: $(ABI_FILES)
+	for t in $^; do \
+	    sed -e 's%#OCamlABI#%$(OCAMLABI)%' $$t >$${t%.in}; \
+	done
+
 config.status: patch-stamp configure
 	dh_testdir
 	./configure --prefix=/usr
@@ -32,7 +42,7 @@
 	dh_installdirs
 
 	$(MAKE) install DESTDIR=$(CURDIR)/debian/$(PACKAGE)
-	cp debian/META debian/$(PACKAGE)/usr/lib/ocaml/3.09.0/creal
+	cp debian/META debian/$(PACKAGE)/usr/lib/ocaml/$(OCAMLABI)/creal
 
 
 # Build architecture-independent files here.
@@ -53,7 +63,7 @@
 #	dh_makeshlibs
 	dh_installdeb
 	dh_shlibdeps
-	dh_gencontrol
+	dh_gencontrol -- -VF:OCamlABI="$(OCAMLABI)"
 	dh_md5sums
 	dh_builddeb
 




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