--- ocaml-ao-0.2.0.orig/debian/control
+++ ocaml-ao-0.2.0/debian/control
@@ -0,0 +1,38 @@
+Source: ocaml-ao
+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), libao-dev, ocaml-findlib (>= 1.2.4), pkg-config
+Standards-Version: 3.8.4
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-ao.git
+Vcs-Git: git://git.debian.org/pkg-ocaml-maint/packages/ocaml-ao.git
+
+Package: libao-ocaml
+Architecture: any
+Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Provides: ${ocaml:Provides}
+Description: OCaml bindings for libao -- runtime files
+ OCaml bindings for the cross platform audio output library.
+ .
+ Libao is a cross-platform audio library that allows programs to output audio
+ using a simple API on a wide variety of platforms.
+ .
+ This package contains only the shared runtime stub libraries.
+
+Package: libao-ocaml-dev
+Architecture: any
+Depends: ${ocaml:Depends}, libao-dev, libao-ocaml (= ${binary:Version}),
+         ocaml-findlib, ${misc:Depends}
+Provides: ${ocaml:Provides}
+Description: OCaml bindings for libao -- development files
+ OCaml bindings for the cross platform audio output library.
+ . 
+ Libao is a cross-platform audio library that allows programs to output audio
+ using a simple API on a wide variety of platforms.
+ .
+ This package contains all the development stuff you need to use ocaml-ao
+ in your programs.
--- ocaml-ao-0.2.0.orig/debian/libao-ocaml-dev.install.in
+++ ocaml-ao-0.2.0/debian/libao-ocaml-dev.install.in
@@ -0,0 +1 @@
+src/META src/*.a src/*.cma src/*.cmi src/*.cmx src/*.cmxa src/*.mli @OCamlStdlibDir@/ao
--- ocaml-ao-0.2.0.orig/debian/rules
+++ ocaml-ao-0.2.0/debian/rules
@@ -0,0 +1,19 @@
+#!/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/$(OCAML_STDLIB_DIR)
+DEB_MAKE_INSTALL_TARGET := install OCAMLFIND_DESTDIR=$(DESTDIR) OCAMLFIND_LDCONF=ignore
+
+build/libao-ocaml-dev::
+	mkdir -p $(DESTDIR)
+	make doc
+
+clean::
+	rm -rf Makefile config.log config.status src/META src/Makefile doc
--- ocaml-ao-0.2.0.orig/debian/watch
+++ ocaml-ao-0.2.0/debian/watch
@@ -0,0 +1,3 @@
+version=3
+
+http://sf.net/savonet/ocaml-ao-([0-9\.]*)\.tar\.gz debian uupdate
--- ocaml-ao-0.2.0.orig/debian/changelog
+++ ocaml-ao-0.2.0/debian/changelog
@@ -0,0 +1,89 @@
+ocaml-ao (0.2.0-1) unstable; urgency=high
+
+  * New upstream release.
+  * Adapted binding to the libao 1.0.
+  * Anything built against previous ocaml-ao will
+    segfault with libao 1.0 so setting urgency
+    to high.
+  [ Lintian ]
+  * Bumped standard versions to 3.8.4
+  * Detailed short description
+  * Removed .cmo file since .cma file is already installed
+  * Install .mli file 
+
+ -- Romain Beauxis <toots@rastageeks.org>  Mon, 21 Jun 2010 14:36:26 +0200
+
+ocaml-ao (0.1.10-2) unstable; urgency=low
+
+  * Use new automatic dependency system. 
+  * Fixed Vcs-* fields.
+
+ -- Romain Beauxis <toots@rastageeks.org>  Mon, 12 Oct 2009 00:36:10 -0500
+
+ocaml-ao (0.1.10-1) unstable; urgency=low
+
+  * New upstream release.
+  * Bumped standards version to 3.8.3 
+  * Changed section to ocaml
+  * Clean generated file in debian/rules clean
+
+ -- Romain Beauxis <toots@rastageeks.org>  Mon, 12 Oct 2009 00:09:24 -0500
+
+ocaml-ao (0.1.9-3) unstable; urgency=low
+
+  * Switch packaging to git.
+  * Rebuild with OCaml 3.11.
+
+ -- Samuel Mimram <smimram@debian.org>  Sun, 22 Feb 2009 14:48:37 +0100
+
+ocaml-ao (0.1.9-2) experimental; urgency=low
+
+  * New upload to experimental to build against ocaml 3.11.
+  * Versioned ocaml-related build-dep to avoid confusion.
+  * Switched to cdbs
+  * Changed maintainer to the debian ocaml team.
+  * Added dh-ocaml to build-deps.
+  * Updated standards to 3.8.0.
+  * Added watch file.
+
+ -- Romain Beauxis <toots@rastageeks.org>  Sat, 13 Dec 2008 22:46:13 +0100
+
+ocaml-ao (0.1.9-1) unstable; urgency=low
+
+  [ Stefano Zacchiroli ]
+  * add vcs-* fields
+
+  [ Romain Beauxis ]
+  * New upstream release, now installs .cmx file
+  * Added Liquidsoap Packaging Team as maintainer
+  * Updated standards to 3.7.3
+  * Dropped no more needed patches
+  * Removed build-dep on camlp4, builds fine without
+
+ -- Romain Beauxis <toots@rastageeks.org>  Tue, 15 Apr 2008 02:13:22 +0100
+
+ocaml-ao (0.1.7.1-4) unstable; urgency=low
+
+  * Rebuild with OCaml 3.10.
+  * Added camlp4.dpatch in order to adapt to new camlp4.
+
+ -- Samuel Mimram <smimram@debian.org>  Sun, 09 Sep 2007 18:00:34 +0200
+
+ocaml-ao (0.1.7.1-3) unstable; urgency=low
+
+  * Using dpatch to handle patches.
+  * Added install.dpatch to correctly install on non-native archs.
+
+ -- Samuel Mimram <smimram@debian.org>  Sun, 29 Apr 2007 00:10:30 +0200
+
+ocaml-ao (0.1.7.1-2) unstable; urgency=low
+
+  * Correct the copyright file: library is under LGPL and not GPL.
+
+ -- Samuel Mimram <smimram@debian.org>  Tue, 10 Apr 2007 14:28:25 +0000
+
+ocaml-ao (0.1.7.1-1) unstable; urgency=low
+
+  * Initial release, closes: #412704.
+
+ -- Samuel Mimram <smimram@debian.org>  Fri,  2 Mar 2007 18:57:24 +0100
--- ocaml-ao-0.2.0.orig/debian/libao-ocaml-dev.docs
+++ ocaml-ao-0.2.0/debian/libao-ocaml-dev.docs
@@ -0,0 +1 @@
+README
--- ocaml-ao-0.2.0.orig/debian/compat
+++ ocaml-ao-0.2.0/debian/compat
@@ -0,0 +1 @@
+7
--- ocaml-ao-0.2.0.orig/debian/control.in
+++ ocaml-ao-0.2.0/debian/control.in
@@ -0,0 +1,35 @@
+Source: ocaml-ao
+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@, libao-dev, ocaml-findlib (>= 1.2.4), pkg-config
+Standards-Version: 3.8.4
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/ocaml-ao.git
+Vcs-Git: git://git.debian.org/pkg-ocaml-maint/packages/ocaml-ao.git
+
+Package: libao-ocaml
+Architecture: any
+Depends: ${ocaml:Depends}, ${shlibs:Depends}, ${misc:Depends}
+Provides: ${ocaml:Provides}
+Description: OCaml bindings for libao -- runtime files
+ OCaml bindings for the cross platform audio output library.
+ .
+ Libao is a cross-platform audio library that allows programs to output audio
+ using a simple API on a wide variety of platforms.
+ .
+ This package contains only the shared runtime stub libraries.
+
+Package: libao-ocaml-dev
+Architecture: any
+Depends: ${ocaml:Depends}, libao-dev, libao-ocaml (= ${binary:Version}),
+         ocaml-findlib, ${misc:Depends}
+Provides: ${ocaml:Provides}
+Description: OCaml bindings for libao -- development files
+ OCaml bindings for the cross platform audio output library.
+ . 
+ Libao is a cross-platform audio library that allows programs to output audio
+ using a simple API on a wide variety of platforms.
+ .
+ This package contains all the development stuff you need to use ocaml-ao
+ in your programs.
--- ocaml-ao-0.2.0.orig/debian/libao-ocaml-dev.examples
+++ ocaml-ao-0.2.0/debian/libao-ocaml-dev.examples
@@ -0,0 +1 @@
+examples/*
--- ocaml-ao-0.2.0.orig/debian/copyright
+++ ocaml-ao-0.2.0/debian/copyright
@@ -0,0 +1,15 @@
+This package was debianized by Samuel Mimram <samuel.mimram@debian.org> on
+Sun,  2 Nov 2004 20:18:05 +0100.
+
+It was downloaded from http://savonet.sourceforge.net/
+
+Upstream Authors: the Savonet Team <savonet-devl@lists.sourceforge.net>
+
+Copyright (c) 2006-2007 the Savonet Team and Bárður Árantsson <bardur@imada.sdu.dk>
+
+The ocaml-ao library is free software; you can redistribute it and/or
+modify it under the terms of the GNU Lesser General Public License
+(LGPL) as published by the Free Software Foundation; either version
+2 of the License, or (at your option) any later version.
+
+The license text is contained in /usr/share/common-licenses/LGPL.
--- ocaml-ao-0.2.0.orig/debian/libao-ocaml.install.in
+++ ocaml-ao-0.2.0/debian/libao-ocaml.install.in
@@ -0,0 +1 @@
+src/dllao_stubs.so @OCamlDllDir@
--- ocaml-ao-0.2.0.orig/debian/gbp.conf
+++ ocaml-ao-0.2.0/debian/gbp.conf
@@ -0,0 +1,2 @@
+[DEFAULT]
+pristine-tar = True
