--- pvcam-dkms-4.1.0.orig/debian/pvcam-dkms.dkms
+++ pvcam-dkms-4.1.0/debian/pvcam-dkms.dkms
@@ -0,0 +1,5 @@
+PACKAGE_NAME="pvcam"
+PACKAGE_VERSION="4.1.0"
+MAKE[0]="make"
+CLEAN="make clean"
+DEST_MODULE_LOCATION[0]="/extra"
--- pvcam-dkms-4.1.0.orig/debian/control
+++ pvcam-dkms-4.1.0/debian/control
@@ -0,0 +1,18 @@
+Source: pvcam-dkms
+Section: contrib/kernel
+Priority: extra
+Maintainer: Bas Wijnen <wijnen@debian.org>
+Build-Depends: debhelper (>= 8), dkms
+Standards-Version: 3.9.2
+
+Package: pvcam-dkms
+Architecture: all
+Multi-Arch: foreign
+Depends: ${misc:Depends}, dkms
+Recommends: libpvcam (= ${source:Version})
+Description: kernel module for Coolsnap pci card
+ Libpvcam is a library for using the Coolsnap ES camera. It requires
+ this module to communicate with the hardware.
+ .
+ This package contains the dkms sources. When installed, it will build
+ the module for your kernel.
--- pvcam-dkms-4.1.0.orig/debian/compat
+++ pvcam-dkms-4.1.0/debian/compat
@@ -0,0 +1 @@
+8
--- pvcam-dkms-4.1.0.orig/debian/changelog
+++ pvcam-dkms-4.1.0/debian/changelog
@@ -0,0 +1,11 @@
+pvcam-dkms (4.1.0-2) unstable; urgency=low
+
+ * Add multi-arch support. (Closes: #646760)
+
+ -- Bas Wijnen <wijnen@debian.org> Sat, 04 Feb 2012 22:08:49 +0100
+
+pvcam-dkms (4.1.0-1) unstable; urgency=low
+
+ * Initial release. (Closes: #622137)
+
+ -- Bas Wijnen <wijnen@debian.org> Sun, 10 Apr 2011 16:46:53 +0200
--- pvcam-dkms-4.1.0.orig/debian/rules
+++ pvcam-dkms-4.1.0/debian/rules
@@ -0,0 +1,12 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
+override_dh_auto_build:
+ :
+
+override_dh_auto_install:
+ dh_install pvcam.c pvcam.h Makefile /usr/src/pvcam-4.1.0/
+ dh_install debian/70-pvcam.rules /lib/udev/rules.d/
+ dh_dkms
--- pvcam-dkms-4.1.0.orig/debian/70-pvcam.rules
+++ pvcam-dkms-4.1.0/debian/70-pvcam.rules
@@ -0,0 +1 @@
+SUBSYSTEMS=="pvcam", MODE="0660", GROUP="video"
--- pvcam-dkms-4.1.0.orig/debian/copyright
+++ pvcam-dkms-4.1.0/debian/copyright
@@ -0,0 +1,21 @@
+Files: *
+Copyright:
+ Copyright (C) 1999 - 2004 Roper Scientific, Inc.
+ Copyright 2011 Bas Wijnen <wijnen@debian.org>
+License: GPL-3+
+ 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.
+
+Files: debian/*
+Copyright:
+ Copyright 2011 Bas Wijnen <wijnen@debian.org>
+License: GPL-3+
+ 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.
+
+The latest version of the GPL can be found in
+/usr/share/common-licenses/GPL.