--- ocaml-samplerate-0.1.1.orig/debian/libsamplerate-ocaml-dev.install.in
+++ ocaml-samplerate-0.1.1/debian/libsamplerate-ocaml-dev.install.in
@@ -0,0 +1,3 @@
+@OCamlStdlibDir@/samplerate/META
+@OCamlStdlibDir@/samplerate/*.a
+@OCamlStdlibDir@/samplerate/*.cm*
--- ocaml-samplerate-0.1.1.orig/debian/control
+++ ocaml-samplerate-0.1.1/debian/control
@@ -0,0 +1,39 @@
+Source: ocaml-samplerate
+Section: ocaml
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
+Uploaders: Samuel Mimram <smimram@debian.org>, Romain Beauxis <toots@rastageeks.org>
+Build-Depends: cdbs (>= 0.4.53), debhelper (>= 7.0.1), ocaml-nox, dh-ocaml (>= 0.9),
+ libsamplerate-dev, ocaml-findlib (>= 1.2.4), pkg-config
+Standards-Version: 3.8.3
+Homepage: http://savonet.sourceforge.net/
+Vcs-Git: git://git.debian.org/pkg-ocaml-maint/packages/ocaml-samplerate.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-samplerate.git
+
+Package: libsamplerate-ocaml
+Architecture: any
+Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Provides: ${ocaml:Provides}
+Description: OCaml interface to the samplerate library
+ This package provied an interface to the samplerate library for
+ OCaml programmers.
+ .
+ libsamplerate assist in development of programs for audio rate
+ conversion.
+ .
+ This package contains only the shared runtime stub libraries.
+
+Package: libsamplerate-ocaml-dev
+Architecture: any
+Depends: ${ocaml:Depends}, libsamplerate-dev,
+ libsamplerate-ocaml (= ${binary:Version}), ocaml-findlib, ${misc:Depends}
+Provides: ${ocaml:Provides}
+Description: OCaml interface to the samplerate library
+ This package provied an interface to the samplerate library for
+ OCaml programmers.
+ .
+ libsamplerate assist in development of programs for audio rate
+ conversion.
+ .
+ This package contains all the development stuff you need to develop
+ OCaml programs which use ocaml-samplerate.
--- ocaml-samplerate-0.1.1.orig/debian/rules
+++ ocaml-samplerate-0.1.1/debian/rules
@@ -0,0 +1,21 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/autotools.mk
+include /usr/share/cdbs/1/rules/ocaml.mk
+
+# In order to regenerate 'debian/control' :
+# DEB_AUTO_UPDATE_DEBIAN_CONTROL=yes fakeroot debian/rules clean
+# Then check manually if everything's ok
+
+DESTDIR = $(CURDIR)/debian/tmp$(shell ocamlc -where)
+DEB_MAKE_INSTALL_TARGET := install OCAMLFIND_DESTDIR=$(DESTDIR) OCAMLFIND_LDCONF=ignore
+DEB_DH_INSTALL_SOURCEDIR := debian/tmp
+DEB_DH_INSTALL_ARGS := --list-missing
+
+build/libsamplerate-ocaml-dev::
+ mkdir -p $(DESTDIR)
+ make doc
+
+clean::
+ rm -rf Makefile src/Makefile src/META doc config.log config.status
--- ocaml-samplerate-0.1.1.orig/debian/watch
+++ ocaml-samplerate-0.1.1/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/savonet/ocaml-samplerate-(.+)\.tar\.gz
--- ocaml-samplerate-0.1.1.orig/debian/libsamplerate-ocaml-dev.docs
+++ ocaml-samplerate-0.1.1/debian/libsamplerate-ocaml-dev.docs
@@ -0,0 +1,2 @@
+README
+doc/html
--- ocaml-samplerate-0.1.1.orig/debian/changelog
+++ ocaml-samplerate-0.1.1/debian/changelog
@@ -0,0 +1,20 @@
+ocaml-samplerate (0.1.1-1) unstable; urgency=low
+
+ [ Stephane Glondu ]
+ * Use ocaml.mk as a CDBS "rules" file (Closes: #549804)
+
+ [ Romain Beauxis ]
+ * New upstream release.
+ * Switched to new automatic dependency system.
+ * Changed section to ocaml.
+ * Bumped standards version to 3.8.3
+ * Fixed Vcs-* fields.
+ * Added doc-base registration.
+
+ -- Romain Beauxis <toots@rastageeks.org> Mon, 12 Oct 2009 17:25:41 -0500
+
+ocaml-samplerate (0.1.0-1) unstable; urgency=low
+
+ * Initial upload to unstable (Closes: #515811)
+
+ -- Romain Beauxis <toots@rastageeks.org> Fri, 06 Mar 2009 19:12:41 +0100
--- ocaml-samplerate-0.1.1.orig/debian/libsamplerate-ocaml.install.in
+++ ocaml-samplerate-0.1.1/debian/libsamplerate-ocaml.install.in
@@ -0,0 +1 @@
+@OCamlStdlibDir@/samplerate/dllsamplerate_stubs.so @OCamlDllDir@
--- ocaml-samplerate-0.1.1.orig/debian/compat
+++ ocaml-samplerate-0.1.1/debian/compat
@@ -0,0 +1 @@
+7
--- ocaml-samplerate-0.1.1.orig/debian/libsamplerate-ocaml-dev.doc-base
+++ ocaml-samplerate-0.1.1/debian/libsamplerate-ocaml-dev.doc-base
@@ -0,0 +1,9 @@
+Document: libsamplerate-ocaml-dev
+Title: OCaml Samplerate module documentation
+Author: Samuel Mimram
+Abstract: Documentation of the OCaml Samplerate module
+Section: Programming/OCaml
+
+Format: HTML
+Index: /usr/share/doc/libsamplerate-ocaml-dev/html/index.html
+Files: /usr/share/doc/libsamplerate-ocaml-dev/html/*
--- ocaml-samplerate-0.1.1.orig/debian/control.in
+++ ocaml-samplerate-0.1.1/debian/control.in
@@ -0,0 +1,39 @@
+Source: ocaml-samplerate
+Section: ocaml
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org>
+Uploaders: Samuel Mimram <smimram@debian.org>, Romain Beauxis <toots@rastageeks.org>
+Build-Depends: @cdbs@,
+ libsamplerate-dev, ocaml-findlib (>= 1.2.4), pkg-config
+Standards-Version: 3.8.3
+Homepage: http://savonet.sourceforge.net/
+Vcs-Git: git://git.debian.org/pkg-ocaml-maint/packages/ocaml-samplerate.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-samplerate.git
+
+Package: libsamplerate-ocaml
+Architecture: any
+Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Provides: ${ocaml:Provides}
+Description: OCaml interface to the samplerate library
+ This package provied an interface to the samplerate library for
+ OCaml programmers.
+ .
+ libsamplerate assist in development of programs for audio rate
+ conversion.
+ .
+ This package contains only the shared runtime stub libraries.
+
+Package: libsamplerate-ocaml-dev
+Architecture: any
+Depends: ${ocaml:Depends}, libsamplerate-dev,
+ libsamplerate-ocaml (= ${binary:Version}), ocaml-findlib, ${misc:Depends}
+Provides: ${ocaml:Provides}
+Description: OCaml interface to the samplerate library
+ This package provied an interface to the samplerate library for
+ OCaml programmers.
+ .
+ libsamplerate assist in development of programs for audio rate
+ conversion.
+ .
+ This package contains all the development stuff you need to develop
+ OCaml programs which use ocaml-samplerate.
--- ocaml-samplerate-0.1.1.orig/debian/copyright
+++ ocaml-samplerate-0.1.1/debian/copyright
@@ -0,0 +1,24 @@
+This package was debianized by Romain Beauxis <toots@rastageeks.org> on
+Sat, 10 May 2008 02:55:21 +0200.
+
+It was downloaded from <http://savonet.sourceforge.net/>
+
+Upstream Author: The Savonet Team <savonet-users@lists.sourceforge.net>
+
+Copyright: © 2003-2009 The Savonet Team.
+
+License:
+
+ License for this package is the GNU Lesser General Public
+ License. (the GNU Library General Public License
+ is the former name for the GNU Lesser General Public License)
+
+ You should have received a copy of the GNU Lesser General Public
+ License along with this package; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+On Debian systems, the complete text of the GNU Lesser General
+Public License can be found in `/usr/share/common-licenses/LGPL'.
+
+The Debian packaging is © 2008, Romain Beauxis <toots@rastageeks.org> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.