--- madwimax-0.1.1.orig/debian/docs
+++ madwimax-0.1.1/debian/docs
@@ -0,0 +1,3 @@
+NEWS
+README
+TODO
--- madwimax-0.1.1.orig/debian/control
+++ madwimax-0.1.1/debian/control
@@ -0,0 +1,24 @@
+Source: madwimax
+Section: admin
+Priority: optional
+Maintainer: Alexander Gordeev <lasaine@lvk.cs.msu.su>
+Build-Depends: debhelper (>= 7), autotools-dev, libusb-1.0-0-dev, pkg-config, asciidoc, docbook-xml, docbook2x
+Standards-Version: 3.8.1
+Homepage: http://code.google.com/p/madwimax/
+Vcs-Browser: http://github.com/ago/madwimax
+Vcs-Git: git://github.com/ago/madwimax.git
+
+Package: madwimax
+Architecture: any
+Depends: ${shlibs:Depends}
+Recommends: dhcp3-client | dhcp-client
+Description: user-space driver for mWiMAX equipment based on Samsung CMC-730
+ madwimax is an experimental reverse-engineered Linux driver for
+ mobile WiMAX (802.16e) devices based on Samsung CMC-730 chip. These
+ devices are currently supported:
+  * Samsung SWC-U200
+  * Samsung SWC-E100
+  * Samsung SWM-S10R (it is built in Samsung NC-10 netbook)
+ .
+ This package contains the user-space standalone implementation of the
+ driver. It requires Universal TUN/TAP support in your kernel.
--- madwimax-0.1.1.orig/debian/rules
+++ madwimax-0.1.1/debian/rules
@@ -0,0 +1,89 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# 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
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
+CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE)
+else
+CROSS= --build $(DEB_BUILD_GNU_TYPE)
+endif
+
+
+
+config.status: configure
+	dh_testdir
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+	cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+	cp -f /usr/share/misc/config.guess config.guess
+endif
+	./configure $(CROSS) \
+		--prefix='' \
+		--with-udev-dir=/lib/udev \
+		--mandir=/usr/share/man \
+		--infodir=/usr/share/info \
+		CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+
+build: build-stamp
+
+build-stamp:  config.status 
+	dh_testdir
+	$(MAKE)
+	touch $@
+
+clean: 
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp 
+
+	[ ! -f Makefile ] || $(MAKE) distclean
+	rm -f config.sub config.guess
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_prep
+	dh_installdirs
+
+	$(MAKE) DESTDIR=$(CURDIR)/debian/madwimax install
+
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+	dh_testdir
+	dh_testroot
+	dh_installchangelogs ChangeLog
+	dh_installdocs
+	dh_installexamples
+	dh_installman
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install 
--- madwimax-0.1.1.orig/debian/watch
+++ madwimax-0.1.1/debian/watch
@@ -0,0 +1,8 @@
+# Watch control file for uscan
+# You can run the "uscan" command to check for upstream updates and more.
+# See uscan(1) for format
+
+# Compulsory line, this is a version 3 file
+version=3
+
+http://madwimax.googlecode.com/files/madwimax-(.*)\.tar\.gz
--- madwimax-0.1.1.orig/debian/changelog
+++ madwimax-0.1.1/debian/changelog
@@ -0,0 +1,6 @@
+madwimax (0.1.1-1) unstable; urgency=low
+
+  * Initial release (Closes: #533173).
+
+ -- Alexander Gordeev <lasaine@lvk.cs.msu.su>  Sun, 20 Sep 2009 11:51:39 +0400
+
--- madwimax-0.1.1.orig/debian/postinst
+++ madwimax-0.1.1/debian/postinst
@@ -0,0 +1,44 @@
+#!/bin/sh
+# postinst script for madwimax
+#
+# see: dh_installdeb(1)
+
+set -e
+
+# summary of how this script can be called:
+#        * <postinst> `configure' <most-recently-configured-version>
+#        * <old-postinst> `abort-upgrade' <new version>
+#        * <conflictor's-postinst> `abort-remove' `in-favour' <package>
+#          <new-version>
+#        * <postinst> `abort-remove'
+#        * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
+#          <failed-install-package> <version> `removing'
+#          <conflicting-package> <version>
+# for details, see http://www.debian.org/doc/debian-policy/ or
+# the debian-policy package
+
+
+case "$1" in
+    configure)
+        # ask udev to check for new udev rules
+        [ -x /etc/init.d/udev ] && pidof udevd > /dev/null \
+            && udevadm trigger --action=change
+    ;;
+
+    abort-upgrade|abort-remove|abort-deconfigure)
+    ;;
+
+    *)
+        echo "postinst called with unknown argument \`$1'" >&2
+        exit 1
+    ;;
+esac
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
+
--- madwimax-0.1.1.orig/debian/compat
+++ madwimax-0.1.1/debian/compat
@@ -0,0 +1 @@
+7
--- madwimax-0.1.1.orig/debian/copyright
+++ madwimax-0.1.1/debian/copyright
@@ -0,0 +1,36 @@
+This package was debianized by Alexander Gordeev <lasaine@lvk.cs.msu.su> on
+Wed, 28 Jan 2009 12:54:38 +0300.
+
+It was downloaded from: http://code.google.com/p/madwimax/
+
+Upstream Authors:
+
+    Alexander Gordeev <gordick@gmail.com>
+    Vladislav Isenbaev <isenbaev@gmail.com>
+
+Copyright:
+
+    Copyright (C) 2008-2009 Alexander Gordeev
+    Copyright (C) 2008 Vladislav Isenbaev
+
+License:
+
+    This package 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 2 of the License, or
+    (at your option) any later version.
+
+    This package 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 package; if not, write to the Free Software
+    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
+
+On Debian systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL-2'.
+
+The Debian packaging is (C) 2009, Alexander Gordeev <lasaine@lvk.cs.msu.su> and
+is licensed under the GPL, see above.
