diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..ca84a9a
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+xboxdrv (0.4.12-1) unstable; urgency=low
+
+  * Initial release
+
+ -- Ingo Ruhnke <grumbel@gmx.de>  Fri, 7 May 2010 03:01:55 +0200
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..fa8bcd9
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,26 @@
+Source: xboxdrv
+Section: utils
+Priority: extra
+Maintainer: Ingo Ruhnke <grumbel@gmx.de>
+Build-Depends: debhelper (>= 7), scons, libboost1.41-dev, libusb-dev, libx11-dev, x11proto-core-dev
+Standards-Version: 3.8.0
+Homepage: http://pingus.seul.org/~grumbel/xboxdrv/
+
+Package: xboxdrv
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: A Xbox360 gamepad driver for the userspace
+  This is a Xbox/Xbox360 gamepad driver for Linux that works in
+ userspace. It is an alternative to the xpad kernel driver and has
+ support for Xbox1 gamepads, Xbox360 USB gamepads and Xbox360 wireless
+ gamepads. The Xbox360 guitar and some Xbox1 dancemats might work
+ too. The Xbox 360 racing wheel is not supported, but shouldn't be to
+ hard to add if somebody is interested.
+ .
+ This driver is only of interest if the xpad kernel driver doesn't
+ work for you or if you want more configurabity. If the xpad kernel
+ driver works for you there is no need to try this driver.
+ .
+ In addition to all the Xbox related stuff, the driver also supports
+ the Thrustmaster Dual Power 3 gamepad, including rumble, which isn't
+ supported by the normal kernel driver.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..a581af3
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+This package was debianized by Ingo Ruhnke <grumbel@gmx.de> on
+Tue, 21 Apr 2009 16:43:42 +0200.
+
+It was downloaded from http://pingus.seul.org/~grumbel/xboxdrv/
+
+Upstream Author(s):
+
+  Ingo Ruhnke <grumbel@gmx.de>
+
+Copyright:
+
+  Copyright (C) 2009 Ingo Ruhnke <grumbel@gmx.de>
+
+License:
+
+  This program is free software: you can redistribute it and/or modify
+  it under the terms of the GNU General Public License as published by
+  the Free Software Foundation, either version 3 of the License, or
+  (at your option) any later version.
+   
+  This program is distributed in the hope that it will be useful,
+  but WITHOUT ANY WARRANTY; without even the implied warranty of
+  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+  GNU General Public License for more details.
+  
+  You should have received a copy of the GNU General Public License
+  along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+
+The Debian packaging is copyright 2009, Ingo Ruhnke <grumbel@gmx.de> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff --git a/debian/dirs b/debian/dirs
new file mode 100644
index 0000000..98d1583
--- /dev/null
+++ b/debian/dirs
@@ -0,0 +1,2 @@
+usr/bin
+usr/share/man/man1
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e69de29
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..477618d
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,93 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+
+
+
+configure: configure-stamp
+configure-stamp:
+	dh_testdir
+	# Add here commands to configure the package.
+
+	touch configure-stamp
+
+
+build: build-stamp
+
+build-stamp: configure-stamp  
+	dh_testdir
+
+	# Add here commands to compile the package.
+	# $(MAKE)
+	scons
+	#docbook-to-man debian/xboxdrv.sgml > xboxdrv.1
+
+	touch $@
+
+clean: 
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	# Add here commands to clean up after the build process.
+	scons -c
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep  
+	dh_installdirs
+
+	# Add here commands to install the package into debian/xboxdrv.
+	# $(MAKE) DESTDIR=$(CURDIR)/debian/xboxdrv install
+	./install.sh --prefix $(CURDIR)/debian/xboxdrv/usr/bin/
+
+
+# Build architecture-independent files here.
+binary-indep: install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs 
+	dh_installdocs
+	dh_installexamples
+#	dh_install
+#	dh_installmenu
+#	dh_installdebconf
+#	dh_installlogrotate
+#	dh_installemacsen
+#	dh_installpam
+#	dh_installmime
+#	dh_python
+#	dh_installinit
+#	dh_installcron
+#	dh_installinfo
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_perl
+#	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install configure