--- jags-2.0.0.orig/debian/jags.1
+++ jags-2.0.0/debian/jags.1
@@ -0,0 +1,26 @@
+.\" Man page contributed by Dirk Eddelbuettel <edd@debian.org> and GPL'ed
+.TH JAGS 1 "15 September 2008" "IARC"
+.SH NAME
+jags - just another gibbs sampler
+.SH SYNOPSIS
+.BR jags\  [--debugger]\ scriptfile
+.SH DESCRIPTION
+.PP
+\fIjags\fP is a program for analysis of Bayesian hierarchical models using
+Markov Chain Monte Carlo (MCMC) simulation not wholly unlike BUGS. It expects 
+the model to be described in 
+.IR scriptfile .
+.SH OPTIONS
+\fIjags\fP accepts the following options:
+.TP 8
+.I \-\-debugger
+to run under the default debugger 
+.RE
+.SH SEE ALSO
+.IR http://www-fis.iarc.fr/~martyn/software/jags/
+.SH AUTHORS
+Martyn Plummer <jags@iarc.fr>
+
+This manual page was contributed by Dirk Eddelbuettel
+<edd@debian.org> for the Debian GNU/Linux distribution but 
+may be used by others.
--- jags-2.0.0.orig/debian/jags.lintian-overrides
+++ jags-2.0.0/debian/jags.lintian-overrides
@@ -0,0 +1,3 @@
+jags: non-dev-pkg-with-shlib-symlink usr/lib/libjrmath.so.0.0.0 usr/lib/libjrmath.so
+jags: package-name-doesnt-match-sonames libjags2 libjrmath0
+jags: non-dev-pkg-with-shlib-symlink usr/lib/libjags.so.2.0.0 usr/lib/libjags.so
--- jags-2.0.0.orig/debian/compat
+++ jags-2.0.0/debian/compat
@@ -0,0 +1 @@
+5
--- jags-2.0.0.orig/debian/jags.manpages
+++ jags-2.0.0/debian/jags.manpages
@@ -0,0 +1 @@
+debian/jags.1
--- jags-2.0.0.orig/debian/changelog
+++ jags-2.0.0/debian/changelog
@@ -0,0 +1,51 @@
+jags (2.0.0-1) unstable; urgency=low
+
+  * New upstream release
+
+  * debian/control: Updated Standards-Version: to current version
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 26 Apr 2010 11:05:20 -0500
+
+jags (1.0.4-4) unstable; urgency=low
+
+  * configure: Applied patch by Nobuhiro Iwamatsu to support the
+    SH architecture 					(Closes: #561050)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 13 Dec 2009 19:26:57 -0600
+
+jags (1.0.4-3) unstable; urgency=low
+
+  * debian/control: Tighten Build-Depends to libltdl-dev (>= 2.2.6b)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 12 Dec 2009 16:34:46 -0600
+
+jags (1.0.4-2) unstable; urgency=low
+
+  * debian/control: Add Build-Depends: on libltdl3-dev
+  * debian/rules: call configure with '--without-included-ltdl' to enforce
+    use of the system ltdl 				(Closes: #560864)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 12 Dec 2009 16:18:24 -0600
+
+jags (1.0.4-1) unstable; urgency=low
+
+  * New upstream release containing new libltdl/ from libtool 2.2.6b 
+    in regards to CVE-2009-3736[0] 			(Closes: #559816)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 10 Dec 2009 22:41:47 -0600
+
+jags (1.0.3-2) unstable; urgency=low
+
+  * configure: Applied one-line patch to allow builds on sh architecture. 
+    Thanks to Nobuhiro Iwamatsu for the patch. 		(Closes: #554347)
+
+  * debian/watch: Addded watch file
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 03 Nov 2009 22:10:31 -0600
+
+jags (1.0.3-1) unstable; urgency=low
+
+  * Initial build
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 01 Sep 2008 20:04:18 -0500
+
--- jags-2.0.0.orig/debian/rules
+++ jags-2.0.0/debian/rules
@@ -0,0 +1,8 @@
+#!/usr/bin/make -f
+
+override_dh_auto_configure:
+	dh_auto_configure -- --without-included-ltdl
+
+%:
+	dh $@
+
--- jags-2.0.0.orig/debian/copyright
+++ jags-2.0.0/debian/copyright
@@ -0,0 +1,60 @@
+This is the Debian GNU/Linux jags package. Jags is 'Just Another Gibbs
+Sampler', a program for analysis of Bayesian Graphical models by Gibbs
+Sampling.  Jags was written by Martyn Plummer.
+
+This package was created by Dirk Eddelbuettel <edd@debian.org>.
+The sources were downloaded from the sources
+	http://www-fis.iarc.fr/~martyn/software/jags/
+
+Copyright and License information:
+
+1) JAGS itself:
+Copyright (C) 2002 - 2008 Martyn Plummer
+License: GPL
+
+2) The libltdl/ directory containing GNU libltdl (a system independent
+dlopen wrapper for GNU libtool):
+Copyright (C) 1998 - 2000, 2004 - 2007 Free Software Foundation, Inc.
+Originally by Thomas Tanner <tanner@ffii.org>
+License: LGPL
+
+3) The src/jrmath/ directory containing a modified interface to GNU R 
+(where Martyn Plummer is a member of the R Core Development Team)
+Copyright (C) 1995, 1996 Robert Gentleman and Ross Ihaka
+Copyright (C) 1998-2004 Ross Ihaka and the R Development Core Team
+Copyright (C) 1998-2004 The R Development Core Team
+Copyright (C) 1998--2005 The R Development Core Team
+Copyright (C) 1998 Ross Ihaka
+Copyright (C) 1999-2000 The R Development Core Team
+Copyright (C) 2000-2001 The R Core Development Team
+Copyright (C) 2000-2002 The R Development Core Team
+Copyright (C) 2000, 2003 The R Development Core Team
+Copyright (C) 2000-2005 The R Development Core Team
+Copyright (C) 2000-2006 The R Development Core Team
+Copyright (C) 2000-2006 The R Development Core Team
+Copyright (C) 2000-2006 The R Development Core Team
+Copyright (C) 2000 The R Core Development Team
+Copyright (C) 2000 The R Development Core Team
+Copyright (C) 2002-2004 The R Foundation
+Copyright (C) 2003-2004 The R Foundation
+Copyright (C) 2003-2004 The R Foundation
+Copyright (C) 2003 The R Foundation
+Copyright (C) 2004 Morten Welinder
+Copyright (C) 2004 The R Foundation
+Copyright (C) 2004 The R Foundation
+Copyright (C) 2005-6 Morten Welinder <terra@gnome.org>
+Copyright (C) 2005-6 The R Foundation
+Copyright (C) 2005 The R Foundation
+Copyright (C) 2006 The R Core Development Team
+Copyright (C) 2006 The R Development Core Team
+License: GPL
+
+4) For the src/modules/base/rngs/MersenneTwisterRNG.cc
+Copyright (C) 1997, 1999 Makoto Matsumoto and Takuji Nishimura.
+License: GPL
+
+
+On a Debian GNU/Linux system, the GPL and LGPL licenses are included
+in the files /usr/share/common-licenses/GPL and
+/usr/share/common-licenses/LGPL.
+
--- jags-2.0.0.orig/debian/watch
+++ jags-2.0.0/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://www-fis.iarc.fr/~martyn/software/jags/JAGS-(.+)\.tar\.gz
--- jags-2.0.0.orig/debian/control
+++ jags-2.0.0/debian/control
@@ -0,0 +1,23 @@
+Source: jags
+Section: math
+Priority: optional
+Maintainer: Dirk Eddelbuettel <edd@debian.org>
+Build-Depends: debhelper (>= 7.0.50~), gfortran, liblapack-dev, libltdl-dev (>= 2.2.6b)
+Standards-Version: 3.8.4
+Homepage: http://www-fis.iarc.fr/~martyn/software/jags/
+
+Package: jags
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Just Another Gibbs Sampler for Bayesian MCMC simulation
+ JAGS is Just Another Gibbs Sampler.  It is a program for analysis of 
+ Bayesian hierarchical models using Markov Chain Monte Carlo (MCMC) 
+ simulation  not wholly unlike BUGS.  
+ .
+ JAGS was written with three aims in mind: 
+  * To have an engine for the BUGS language that runs on Unix
+  * To be extensible, allowing users to write their own functions, 
+    distributions and samplers.
+  * To be a plaftorm for experimentation with ideas in Bayesian modelling
+
+
--- jags-2.0.0.orig/debian/source/format
+++ jags-2.0.0/debian/source/format
@@ -0,0 +1 @@
+1.0
