Add debian packaging

A little futzing around with version numbers to kinda match the version
numbers in powerdebug.h and the commits on the master branch
diff --git a/debian/README b/debian/README
new file mode 100644
index 0000000..04afd2e
--- /dev/null
+++ b/debian/README
@@ -0,0 +1,9 @@
+The Debian Package powerdebug
+----------------------------
+
+This is a new tool which displays regulator and sensor information.
+Current version only displays regulator and clock tree information properly.
+Support will be added for displaying sensors and other power management
+related information of interest to users/developers.
+
+ -- Amit Arora <amit.arora@linaro.org>  Fri, 03 Sep 2010 19:18:18 +0530
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..f37fd47
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,26 @@
+powerdebug (0.3) natty; urgency=low
+
+  * Fix coding style issues and some more cleanups
+  * Discover debugfs mount point and remove hard coded path
+  * Display clock tree in ncurses mode using in-memory data structures
+  * Read clocks into memory and add dump support
+  * Show all regulators and clocks by default
+  * Discover debugfs mount point at runtime
+  * Show units for clock rate
+  * Add multi-level support for clock tree information
+  * Add dump (-d) option support for displaying the clock tree (-c)
+
+ -- Amit Arora <amit.arora@linaro.org>  Fri, 01 Oct 2010 13:38:21 +0530
+
+powerdebug (0.2) maverick; urgency=low
+
+  * Add support for clock tree information
+  * Add options for ticktime
+
+ -- Amit Arora <amit.arora@linaro.org>  Fri, 08 Sep 2010 16:41:48 +0530
+
+powerdebug (0.1) maverick; urgency=low
+
+  * Initial Release.
+
+ -- Amit Arora <amit.arora@linaro.org>  Fri, 03 Sep 2010 19:18:18 +0530
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..7f22673
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,14 @@
+Source: powerdebug
+Section: utils
+Priority: optional
+Maintainer: Amit Arora <amit.arora@linaro.org>
+Build-Depends: cdbs, debhelper (>= 7), libncurses5-dev
+Standards-Version: 3.9.1
+
+Package: powerdebug
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: tool to display regulator, sensor and clock information
+ PowerDebug is a tool to display regulator, sensor and clock information.
+ Information are refreshed every few seconds. You can also use dump
+ option to display the information just once.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..be73f90
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,29 @@
+This work was packaged for Debian by:
+
+    Amit Arora <amit.arora@linaro.org> on Fri, 03 Sep 2010 19:18:18 +0530
+
+It was downloaded from:
+
+    git://git.linaro.org/people/amitarora/powerdebug.git
+
+Upstream Author(s):
+
+    Amit Arora <amit.arora@linaro.org>
+
+Copyright:
+
+    Copyright (C) 2010 Linaro
+    Copyright (C) 2010 IBM Corporation
+    Copyright (C) 2010 Amit Arora <amit.arora@linaro.org>
+
+License:
+    This program and the accompanying materials
+    are made available under the terms of the Eclipse Public License v1.0
+    which accompanies this distribution, and is available at
+    http://www.eclipse.org/legal/epl-v10.html
+
+
+The Debian packaging is:
+
+    Copyright (C) 2010 Amit Arora <amit.arora@linaro.org>
+and is licensed under the EPL version 1.0, see above.
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/debian/docs
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..f026755
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+#export DH_VERBOSE=1
+
+include /usr/share/cdbs/1/class/makefile.mk
+include /usr/share/cdbs/1/rules/debhelper.mk
+#include /usr/share/cdbs/1/rules/dpatch.mk
+
+DEB_MAKE_INSTALL_TARGET = install BINDIR=/usr/sbin DESTDIR=`pwd`/debian/powerdebug
+DEB_MAKE_EXTRA_ARGS = 
+
+common-post-build-arch::
+	make uptrans || true       
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..d3827e7
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+1.0