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

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


Author: tpetazzo-guest
Date: 2005-12-04 21:45:12 +0000 (Sun, 04 Dec 2005)
New Revision: 2240

Added:
   trunk/packages/camlgz/trunk/debian/control.in
Removed:
   trunk/packages/camlgz/trunk/debian/control
Modified:
   trunk/packages/camlgz/trunk/debian/rules
Log:
Modifications on debian/rules and conversion of debian/control

Deleted: trunk/packages/camlgz/trunk/debian/control
===================================================================
--- trunk/packages/camlgz/trunk/debian/control	2005-12-04 21:43:08 UTC (rev 2239)
+++ trunk/packages/camlgz/trunk/debian/control	2005-12-04 21:45:12 UTC (rev 2240)
@@ -1,27 +0,0 @@
-Source: camlgz
-Section: devel
-Priority: optional
-Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
-Uploaders: Thomas Petazzoni <thomas.petazzoni at enix.org>, Samuel Mimram <smimram at debian.org>
-Build-Depends: debhelper (>= 4.0.0), ocaml-nox-3.08.3, ocaml-findlib, dpatch (>= 1.19), zlib1g-dev, libbz2-dev
-Standards-Version: 3.6.2
-
-Package: libgz-ocaml
-Section: libs
-Architecture: any
-Depends: ocaml-base-nox-3.08.3, ${shlibs:Depends}
-Description: Ocaml zlib and bzip2 library bindings
- Ocaml bindings for the zlib and bzip2 libraries. It allows
- transparent reading and writing from compressed files.
- .
- This package contains only the shared runtime stub libraries.
-
-Package: libgz-ocaml-dev
-Section: libdevel
-Architecture: any
-Depends: ocaml-nox-3.08.3, zlib1g-dev, libbz2-dev, libgz-ocaml (= ${Source-Version})
-Description: Ocaml zlib and bzip2 library bindings
- Ocaml bindings for the zlib and bzip2 libraries. It allows
- transparent reading and writing from compressed files.
- .
- This package contains the developpment part of the camlgz package.

Copied: trunk/packages/camlgz/trunk/debian/control.in (from rev 1693, trunk/packages/camlgz/trunk/debian/control)
===================================================================
--- trunk/packages/camlgz/trunk/debian/control	2005-08-28 11:22:38 UTC (rev 1693)
+++ trunk/packages/camlgz/trunk/debian/control.in	2005-12-04 21:45:12 UTC (rev 2240)
@@ -0,0 +1,27 @@
+Source: camlgz
+Section: devel
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint at lists.debian.org>
+Uploaders: Thomas Petazzoni <thomas.petazzoni at enix.org>, Samuel Mimram <smimram at debian.org>
+Build-Depends: debhelper (>= 4.0.0), ocaml-nox (>= #OcamlABI#), ocaml-findlib, dpatch (>= 1.19), zlib1g-dev, libbz2-dev
+Standards-Version: 3.6.2
+
+Package: libgz-ocaml
+Section: libs
+Architecture: any
+Depends: ocaml-base-nox-${F:OCamlABI}, ${shlibs:Depends}
+Description: Ocaml zlib and bzip2 library bindings
+ Ocaml bindings for the zlib and bzip2 libraries. It allows
+ transparent reading and writing from compressed files.
+ .
+ This package contains only the shared runtime stub libraries.
+
+Package: libgz-ocaml-dev
+Section: libdevel
+Architecture: any
+Depends: ocaml-nox-${F:OcamlABI}, zlib1g-dev, libbz2-dev, libgz-ocaml (= ${Source-Version})
+Description: Ocaml zlib and bzip2 library bindings
+ Ocaml bindings for the zlib and bzip2 libraries. It allows
+ transparent reading and writing from compressed files.
+ .
+ This package contains the developpment part of the camlgz package.

Modified: trunk/packages/camlgz/trunk/debian/rules
===================================================================
--- trunk/packages/camlgz/trunk/debian/rules	2005-12-04 21:43:08 UTC (rev 2239)
+++ trunk/packages/camlgz/trunk/debian/rules	2005-12-04 21:45:12 UTC (rev 2240)
@@ -6,6 +6,7 @@
 # dh-make output file, you may use that output file without restriction.
 # This special exception was added by Craig Small in version 0.37 of dh-make.
 PACKAGE = camlgz
+OCAMLABI := $(shell ocamlc -version)
 
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
@@ -62,7 +63,7 @@
 	strip -R .comment $(DESTDIR)/gz/dllmlgz.so
 
 	# Move stubfile in the correct package
-	mv $(DESTDIR)/gz/dllmlgz.so $(CURDIR)/debian/libgz-ocaml/usr/lib/ocaml/3.08.3/stublibs/
+	mv $(DESTDIR)/gz/dllmlgz.so $(CURDIR)/debian/libgz-ocaml/usr/lib/ocaml/$(OCAMLABI)/stublibs/
 
 # Build architecture-independent files here.
 binary-indep: build install




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