--- json-static-0.9.8.orig/debian/control
+++ json-static-0.9.8/debian/control
@@ -0,0 +1,29 @@
+Source: json-static
+Section: ocaml
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org> 
+Uploaders: Romain Beauxis <toots@rastageeks.org>
+Build-Depends: cdbs (>= 0.4.53), debhelper (>= 7.0.1), ocaml-nox,
+               ocaml-findlib, camlp4-extra, dh-ocaml, 
+               libjson-wheel-ocaml-dev (>= 1.0.6)
+Standards-Version: 3.8.3
+Homepage: http://martin.jambon.free.fr/json-static.html
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/json-static.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/json-static.git
+
+Package: libjson-static-camlp4-dev
+Architecture: any
+Depends: ocaml-nox-${F:OCamlABI}, ocaml-findlib, 
+         camlp4, libjson-wheel-ocaml-dev, 
+         ${shlibs:Depends}, ${misc:Depends}
+Description: JSON validator and converter for OCaml
+ json-static is a tool for converting parsed JSON data 
+ with an unchecked structure into specialized OCaml 
+ types and vice-versa. 
+ . 
+ By reading a type definition, the preprocessor inserts 
+ code that converts between OCaml types and untyped 
+ JSON data.
+ . 
+ Type definitions are written in a syntax which is 
+ very close to regular OCaml type definitions.
--- json-static-0.9.8.orig/debian/libjson-static-camlp4-dev.install.in
+++ json-static-0.9.8/debian/libjson-static-camlp4-dev.install.in
@@ -0,0 +1,2 @@
+@OCamlStdlibDir@/json-static/META
+@OCamlStdlibDir@/json-static/pa_json_static.cm*
--- json-static-0.9.8.orig/debian/rules
+++ json-static-0.9.8/debian/rules
@@ -0,0 +1,22 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/class/makefile.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)
+PREFIX = $(CURDIR)/debian/tmp/usr
+DEB_MAKE_INSTALL_TARGET := install OCAMLFIND_DESTDIR=$(DESTDIR) OCAMLFIND_LDCONF=ignore PREFIX=$(PREFIX)
+DEB_DH_INSTALL_SOURCEDIR := debian/tmp
+DEB_DH_INSTALL_ARGS :=  --list-missing
+DEB_INSTALL_CHANGELOGS := Changes
+
+CFLAGS += -fPIC
+
+build/libjson-static-camlp4-dev::
+	mkdir -p $(DESTDIR)
+
--- json-static-0.9.8.orig/debian/watch
+++ json-static-0.9.8/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://martin.jambon.free.fr/json-static.html  json-static-(.+)\.tar\.gz
--- json-static-0.9.8.orig/debian/svn-deblayout
+++ json-static-0.9.8/debian/svn-deblayout
@@ -0,0 +1 @@
+tagsUrl=svn+ssh://svn.debian.org/svn/pkg-ocaml-maint/tags/packages/json-static
--- json-static-0.9.8.orig/debian/changelog
+++ json-static-0.9.8/debian/changelog
@@ -0,0 +1,27 @@
+json-static (0.9.8-1) unstable; urgency=low
+
+  * New upstream release. 
+  * Bumped standards version to 3.8.3
+  * Changed section to ocaml
+  * Changed ocaml.mk cdbs support include to 
+    /usr/share/cdbs/1/rules/ocaml.mk
+
+ -- Romain Beauxis <toots@rastageeks.org>  Wed, 23 Sep 2009 20:07:38 -0500
+
+json-static (0.9.6-2) unstable; urgency=low
+
+  * New upload to build against ocaml 3.11.
+  * Updated packaging:
+    + Added build-dep on dh-ocaml.
+    + Bumped compat to 7.
+    + Using new variable to install targets.
+
+ -- Romain Beauxis <toots@rastageeks.org>  Sat, 07 Mar 2009 20:13:11 +0100
+
+json-static (0.9.6-1) unstable; urgency=low
+
+  * Initial release and upload to unstable
+    Closes: #493109
+
+ -- Romain Beauxis <toots@rastageeks.org>  Sat, 02 Aug 2008 03:29:47 +0200
+
--- json-static-0.9.8.orig/debian/compat
+++ json-static-0.9.8/debian/compat
@@ -0,0 +1 @@
+7
--- json-static-0.9.8.orig/debian/libjson-static-camlp4-dev.examples
+++ json-static-0.9.8/debian/libjson-static-camlp4-dev.examples
@@ -0,0 +1 @@
+yahoo.ml
--- json-static-0.9.8.orig/debian/control.in
+++ json-static-0.9.8/debian/control.in
@@ -0,0 +1,29 @@
+Source: json-static
+Section: ocaml
+Priority: optional
+Maintainer: Debian OCaml Maintainers <debian-ocaml-maint@lists.debian.org> 
+Uploaders: Romain Beauxis <toots@rastageeks.org>
+Build-Depends: @cdbs@,
+               ocaml-findlib, camlp4-extra, dh-ocaml, 
+               libjson-wheel-ocaml-dev (>= 1.0.6)
+Standards-Version: 3.8.3
+Homepage: http://martin.jambon.free.fr/json-static.html
+Vcs-Git: git://git.debian.org/git/pkg-ocaml-maint/packages/json-static.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ocaml-maint/packages/json-static.git
+
+Package: libjson-static-camlp4-dev
+Architecture: any
+Depends: ocaml-nox-${F:OCamlABI}, ocaml-findlib, 
+         camlp4, libjson-wheel-ocaml-dev, 
+         ${shlibs:Depends}, ${misc:Depends}
+Description: JSON validator and converter for OCaml
+ json-static is a tool for converting parsed JSON data 
+ with an unchecked structure into specialized OCaml 
+ types and vice-versa. 
+ . 
+ By reading a type definition, the preprocessor inserts 
+ code that converts between OCaml types and untyped 
+ JSON data.
+ . 
+ Type definitions are written in a syntax which is 
+ very close to regular OCaml type definitions.
--- json-static-0.9.8.orig/debian/copyright
+++ json-static-0.9.8/debian/copyright
@@ -0,0 +1,26 @@
+This package was debianized by Romain Beauxis <toots@rastageeks.org>.
+
+It was downloaded from <http://martin.jambon.free.fr/json-static.html>
+
+Upstream Author: Martin Jambon <martin_jambon@emailuser.net> 
+
+Copyright: Copyright (c) 2007 Burnham Institute for Medical Research 
+
+License:
+    Redistribution and use in source and binary forms, with or without
+    modification, are permitted under the terms of the BSD License.
+
+    THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
+    ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+    IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+    ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
+    FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+    DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+    OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+    HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+    LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+    OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+    SUCH DAMAGE.
+
+On Debian systems, the complete text of the BSD License can be 
+found in `/usr/share/common-licenses/BSD'.
--- json-static-0.9.8.orig/debian/libjson-static-camlp4-dev.docs
+++ json-static-0.9.8/debian/libjson-static-camlp4-dev.docs
@@ -0,0 +1 @@
+README
