[Pkg-ocaml-maint-commits] r2413 - trunk/packages/mlgmp/trunk/debian
Mike Furr
mfurr at costa.debian.org
Sat Jan 7 23:13:11 UTC 2006
Author: mfurr
Date: 2006-01-07 23:13:11 +0000 (Sat, 07 Jan 2006)
New Revision: 2413
Removed:
trunk/packages/mlgmp/trunk/debian/control
trunk/packages/mlgmp/trunk/debian/libgmp-ocaml.files
Modified:
trunk/packages/mlgmp/trunk/debian/changelog
trunk/packages/mlgmp/trunk/debian/rules
Log:
rebuild + de-hard-code-abi-ification
Modified: trunk/packages/mlgmp/trunk/debian/changelog
===================================================================
--- trunk/packages/mlgmp/trunk/debian/changelog 2006-01-07 23:12:50 UTC (rev 2412)
+++ trunk/packages/mlgmp/trunk/debian/changelog 2006-01-07 23:13:11 UTC (rev 2413)
@@ -1,3 +1,10 @@
+mlgmp (20021123-10) unstable; urgency=low
+
+ * Remove hard-coded ABI version
+ * Rebuild with 3.09.1
+
+ -- Mike Furr <mfurr at debian.org> Sat, 7 Jan 2006 18:04:32 -0500
+
mlgmp (20021123-9) unstable; urgency=low
* Rebuild with 3.09
Deleted: trunk/packages/mlgmp/trunk/debian/control
===================================================================
--- trunk/packages/mlgmp/trunk/debian/control 2006-01-07 23:12:50 UTC (rev 2412)
+++ trunk/packages/mlgmp/trunk/debian/control 2006-01-07 23:13:11 UTC (rev 2413)
@@ -1,32 +0,0 @@
-Source: mlgmp
-Priority: optional
-Maintainer: Mike Furr <mfurr at debian.org>
-Uploaders: Ralf Treinen <treinen at debian.org>, Sven Luther <luther at debian.org>, Remi Vanicat <vanicat at debian.org>, Stefano Zacchiroli <zack at debian.org>, Sylvain L e Gall <sylvain.le-gall at polytechnique.org>
-Build-Depends: ocaml-nox-3.09.0, debhelper (>= 4.0.0), dpatch, libgmp3-dev, libmpfr-dev
-Standards-Version: 3.6.1
-
-Package: libgmp-ocaml
-Architecture: any
-Section: libs
-Depends: ${shlibs:Depends}, ocaml-nox-3.09.0
-Description: O'Caml bindings for the GNU multiprecision arithmetic library
- This package provides bindings for the GNU multiprecision library
- (GNU MP) for the language O'Caml(caml.inria.fr). It is mostly a 1-1 mapping
- of the C functions into the ocaml namespace, but also includes some
- infix operators to make for a cleaner syntax.
- .
- This package provides the shared library for running applications linked
- against libgmp-ocaml
-
-Package: libgmp-ocaml-dev
-Architecture: any
-Section: libdevel
-Depends: libgmp-ocaml (= ${Source-Version}), ocaml-nox-3.09.0, libgmp3-dev
-Description: O'Caml bindings for the GNU multiprecision arithmetic library
- This package provides bindings for the GNU multiprecision library
- (GNU MP) for the language O'Caml(caml.inria.fr). It is mostly a 1-1 mapping
- of the C functions into the ocaml namespace, but also includes some
- infix operators to make for a cleaner syntax.
- .
- This package provides the static library, ocaml library and interface
- for developing applications to use libgmp-ocaml
Deleted: trunk/packages/mlgmp/trunk/debian/libgmp-ocaml.files
===================================================================
--- trunk/packages/mlgmp/trunk/debian/libgmp-ocaml.files 2006-01-07 23:12:50 UTC (rev 2412)
+++ trunk/packages/mlgmp/trunk/debian/libgmp-ocaml.files 2006-01-07 23:13:11 UTC (rev 2413)
@@ -1,2 +0,0 @@
-usr/lib/ocaml/3.09.0/stublibs/
-
Modified: trunk/packages/mlgmp/trunk/debian/rules
===================================================================
--- trunk/packages/mlgmp/trunk/debian/rules 2006-01-07 23:12:50 UTC (rev 2412)
+++ trunk/packages/mlgmp/trunk/debian/rules 2006-01-07 23:13:11 UTC (rev 2413)
@@ -1,9 +1,18 @@
#!/usr/bin/make -f
PACKAGE=libgmp-ocaml
-
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
+
build: build-stamp
build-stamp: patch-stamp
dh_testdir
@@ -39,7 +48,7 @@
else \
$(MAKE) install DESTDIR=$(CURDIR)/debian/$(PACKAGE)-dev; \
fi
- cp debian/META debian/$(PACKAGE)-dev/usr/lib/ocaml/3.09.0/gmp
+ cp debian/META debian/$(PACKAGE)-dev/usr/lib/ocaml/$(OCAMLABI)/gmp
# Build architecture-independent files here.
@@ -60,7 +69,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