[Pkg-ocaml-maint-commits] r2238 - trunk/packages/camlgz/trunk/debian

Thomas Petazzoni tpetazzo-guest at costa.debian.org
Sun Dec 4 21:42:39 UTC 2005


Author: tpetazzo-guest
Date: 2005-12-04 21:42:38 +0000 (Sun, 04 Dec 2005)
New Revision: 2238

Modified:
   trunk/packages/camlgz/trunk/debian/libgz-ocaml.dirs
   trunk/packages/camlgz/trunk/debian/rules
Log:
First modifications on Camlgz

Modified: trunk/packages/camlgz/trunk/debian/libgz-ocaml.dirs
===================================================================
--- trunk/packages/camlgz/trunk/debian/libgz-ocaml.dirs	2005-12-04 21:39:28 UTC (rev 2237)
+++ trunk/packages/camlgz/trunk/debian/libgz-ocaml.dirs	2005-12-04 21:42:38 UTC (rev 2238)
@@ -1 +1 @@
-usr/lib/ocaml/3.08.3/stublibs
+usr/lib/ocaml/#OcamlABI#/stublibs

Modified: trunk/packages/camlgz/trunk/debian/rules
===================================================================
--- trunk/packages/camlgz/trunk/debian/rules	2005-12-04 21:39:28 UTC (rev 2237)
+++ trunk/packages/camlgz/trunk/debian/rules	2005-12-04 21:42:38 UTC (rev 2238)
@@ -18,7 +18,14 @@
 include /usr/share/dpatch/dpatch.make
 PACKAGE = camlgz
 
+debian/control:
+	sed -e 's%#OcamlABI#%$(OCAMLABI)%' $@.in >$@
+
 configure-stamp: configure
+        for t in `find . -name \*.in | grep -v debian/control.in`; do \
+                sed -e 's%#OcamlABI#%$(OCAMLABI)%' $$t >$${t%.in}; \
+        done
+
 	dh_testdir
 	# Add here commands to configure the package.
 	./configure --with-findlib
@@ -74,7 +81,7 @@
 	dh_fixperms
 	dh_installdeb
 	dh_shlibdeps
-	dh_gencontrol
+	dh_gencontrol -s -- -VF:OCamlABI="$(OCAMLABI)"
 	dh_md5sums
 	dh_builddeb
 




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