--- powertop-1.9.orig/debian/changelog
+++ powertop-1.9/debian/changelog
@@ -0,0 +1,160 @@
+powertop (1.9-2~bpo40+1) etch-backports; urgency=low
+
+  * etch backport.
+
+ -- Robert S. Edmonds <edmonds@debian.org>  Sat, 22 Dec 2007 16:46:39 -0500
+
+powertop (1.9-2) unstable; urgency=low
+
+  * Changed my maintainer address
+  * Bumped Standards-Version to 3.7.3.
+  * Instead of using /dev/scd0 as disk drive use /dev/cdrom for
+    hal-disable-polling (Created patch fix-hal-disable-polling.dpatch) 
+    (Closes: #443594)
+  * This time fix really the usb autosuspend issue. (Closes: #444817)
+  * Add a Homepage field to control.
+
+ -- Patrick Winnertz <winnie@debian.org>  Sun, 16 Dec 2007 23:33:32 +0100
+
+powertop (1.9-1) unstable; urgency=low
+
+  * Packaging new upstream release. (Closes: #451370)
+  * Fix the wrong implementation of usb autosuspend (Closes: #444817)
+
+ -- Patrick Winnertz <patrick.winnertz@skolelinux.org>  Thu, 22 Nov 2007 13:17:38 +0100
+
+powertop (1.8-1) unstable; urgency=low
+
+  * Packaging new upstream release. 
+  * Correct the dependency to laptop-mode-tools. (Closes: #438616)
+  * Correct the command line syntax of hal-disable-polling (Closes: #435882)
+  * Allow powertop to build on all archs since some informations are still
+    there (wakeup counts).
+
+ -- Patrick Winnertz <patrick.winnertz@skolelinux.org>  Mon, 20 Aug 2007 22:23:53 +0200
+
+powertop (1.7~svn-r227-3) unstable; urgency=low
+
+  * debian/control:
+   + Changed the `arch" field to: `i386 amd64 ia64'. (Closes: #435972)
+  * debian/copyright:
+   + Fixed the license related issue, updated to just GPL2 including the
+   license address to `/usr/share/common-licenses/GPL-2'. (Closes: #436367)
+
+ -- Jose Luis Rivas <ghostbar38@gmail.com>  Thu, 16 Aug 2007 23:01:09 -0400
+
+powertop (1.7~svn-r227-2) unstable; urgency=low
+
+  * Thanks to Krzysztof Burghardt for the new package release, but
+    remove him as co-maintainer, as he is none after all
+
+ -- Patrick Winnertz <patrick.winnertz@skolelinux.org>  Fri, 13 Jul 2007 20:39:21 +0200
+
+powertop (1.7~svn-r227-1) unstable; urgency=low
+
+  * New co-maintainer
+  * New upstream (closes: #429305, #430035, #427345)
+  * Moved binary to /usr/sbin as it need to be run by root (closes: #427548)
+  * debian/copyright:
+   + changed a bit to fulfill standard look
+
+ -- Krzysztof Burghardt <krzysztof@burghardt.pl>  Sat, 23 Jun 2007 20:30:02 +0200
+
+powertop (1.5-2) unstable; urgency=low
+
+  * debian/control:
+   + Two leading spaces for Homepage (Closes: #426606)
+  * debian/changelog:
+   + Fixed typo on "Cooperation" now "Corporation" (Closes: #426605)
+
+ -- Jose Luis Rivas <ghostbar38@gmail.com>  Wed, 30 May 2007 08:46:08 -0400
+
+powertop (1.5-1) unstable; urgency=low
+
+  * New upstream release available (Closes: #426507)
+  * Adding Build-Depends: libncursesw5-dev since powertop fails to build without it.
+  * Modified debian/copyright:
+    - added (c) 2007 Intel Corporation
+    - powertop is licensed under GPL v2 (added v2)
+
+ -- Patrick Winnertz <patrick.winnertz@skolelinux.org>  Tue, 29 May 2007 13:43:06 +0200
+
+powertop (1.4-2) unstable; urgency=low
+
+  [ Jose Luis Rivas ]
+  * debian/control:
+   + Fixed the Homepage field (Closes: #426205)
+   + Modified the uploader name to "Jose Luis Rivas"
+
+  [ Patrick Winnertz ]
+  * Fixed FTBFS, by depending on libncurses5-dev (Closes: #426235)
+  * Uses $(CURDIR) instead of `pwd` in rules.
+  * Upload sponsored by Petter Reinholdtsen 
+
+ -- Patrick Winnertz <patrick.winnertz@skolelinux.org>  Sun, 27 May 2007 17:59:38 +0200
+
+powertop (1.4-1) unstable; urgency=low
+
+  * New upstream release
+  * Now powertop uses the full width of a terminal. (Fixed by upstream)
+    (Closes: #423735)
+  * Changed the destdir in debian/rules so that the locale files are installed correctly
+    to debian/powertop/usr/share/locale/:
+      - DESTDIR=debian/powertop  --> DESTDIR=`pwd`/debian/powertop
+  * Upload sponsored by Petter Reinholdtsen
+
+ -- Patrick Winnertz <patrick.winnertz@skolelinux.org>  Sat, 26 May 2007 17:24:27 +0200
+
+powertop (1.3-1) unstable; urgency=low
+
+  * New upstream release (Closes: #425498)
+  * Suggests cpufrequtils (Closes: #423986)
+  * Clean up debian/rules:
+      - removes simple-patchsys.mk since it not used
+      - remove the installation of the manpage since we now use debian/manpages
+        ( Thanks to Jose )
+
+ -- Patrick Winnertz <patrick.winnertz@skolelinux.org>  Fri, 25 May 2007 16:48:52 +0200
+
+powertop (1.2-1) unstable; urgency=low
+
+  * New upstream release available.
+  * Took the package from pere, and added me as Maintainer and Jose Luis
+    Rivas Contreras into the Uploader field.
+  * Removed the manpage from the debian-dir since it is now upstream and adjusted
+    the install command in debian/rules.
+  * Removed the makefile patch, since it is now upstream
+
+ -- Patrick Winnertz <patrick.winnertz@skolelinux.org>  Wed, 16 May 2007 12:35:58 +0200
+
+powertop (1.1-3) unstable; urgency=low
+
+  * Add watch file written by  Ralf Meyer for Ubuntu.  Removed
+    most of the examples.
+
+ -- Petter Reinholdtsen <pere@debian.org>  Mon, 14 May 2007 08:08:24 +0200
+
+powertop (1.1-2) unstable; urgency=low
+
+  * Add powertop(1) manual page.  Written by Carlo
+    Segre. (Closes: #423607)
+
+ -- Petter Reinholdtsen <pere@debian.org>  Sun, 13 May 2007 21:13:00 +0200
+
+powertop (1.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Rewrite debian/rules to use cdbs and simple-patchsys.
+  * Change section from x11 to utils.  It make more sense
+    for this tool.
+  * Rewrite 10_makefile.patch as most of the changes are
+    included upstream.
+
+ -- Petter Reinholdtsen <pere@debian.org>  Sun, 13 May 2007 12:10:15 +0200
+
+powertop (1.0-1) unstable; urgency=low
+
+  * Initial release (Closes: #423504)
+
+ -- Petter Reinholdtsen <pere@debian.org>  Sat, 12 May 2007 23:13:05 +0200
+
--- powertop-1.9.orig/debian/compat
+++ powertop-1.9/debian/compat
@@ -0,0 +1 @@
+5
--- powertop-1.9.orig/debian/control
+++ powertop-1.9/debian/control
@@ -0,0 +1,26 @@
+Source: powertop
+Section: utils
+Priority: optional
+Maintainer: Patrick Winnertz <winnie@debian.org>
+Uploaders: Jose Luis Rivas <ghostbar38@gmail.com>
+Build-Depends: cdbs, debhelper (>= 5), libncursesw5-dev, libncurses5-dev, dpatch
+Standards-Version: 3.7.3
+Homepage: http://www.linuxpowertop.org
+
+Package: powertop
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Suggests: cpufrequtils, laptop-mode-tools
+Description: linux tool to find out what is using power on a laptop
+ PowerTOP is a Linux tool that finds the software component(s) that
+ make your laptop use more power than necessary while it is idle. As of
+ Linux kernel version 2.6.21, the kernel no longer has a fixed 1000Hz
+ timer tick. This will (in theory) give a huge power savings because
+ the CPU stays in low power mode for longer periods of time during
+ system idle.
+ .
+ However... there are many things that can ruin the party, both inside
+ the kernel and in userspace. PowerTOP combines various sources of
+ information from the kernel into one convenient screen so that you can
+ see how well your system is doing, and which components are the
+ biggest problem.
--- powertop-1.9.orig/debian/copyright
+++ powertop-1.9/debian/copyright
@@ -0,0 +1,33 @@
+This package was debianized by Petter Reinholdtsen <pere@hungry.com> on
+Sat May 12 23:22:21 CEST 2007.
+
+It was downloaded from http://www.linuxpowertop.org/download/
+
+Upstream Author: 
+
+    Arjan van de Ven <arjan@linux.intel.com>
+
+Copyright: 
+
+    Copyright (C) 2007 Intel Corporation
+
+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 version 2 of the License.
+ 
+    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) 2007, Petter Reinholdtsen <pere@hungry.com> and
+is licensed under the GPL, see above.
--- powertop-1.9.orig/debian/manpages
+++ powertop-1.9/debian/manpages
@@ -0,0 +1 @@
+powertop.1
--- powertop-1.9.orig/debian/patches/00list
+++ powertop-1.9/debian/patches/00list
@@ -0,0 +1,2 @@
+fix-suggest-usb-autosuspend.dpatch
+fix-hal-disable-polling.dpatch
--- powertop-1.9.orig/debian/patches/fix-hal-disable-polling.dpatch
+++ powertop-1.9/debian/patches/fix-hal-disable-polling.dpatch
@@ -0,0 +1,188 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix-suggest-usb-autosuspend.dpatch by Patrick Winnertz <winnie@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: fix hal-disable-polling
+
+
+diff -Nurwd powertop-1.9/po/de.po powertop-1.9.orig/po/de.po
+--- powertop-1.9/po/de.po	2007-10-28 21:23:18.000000000 +0100
++++ powertop-1.9.orig/po/de.po	2007-12-16 23:44:26.000000000 +0100
+@@ -226,11 +226,11 @@
+ #: powertop.c:743
+ msgid ""
+ "Suggestion: Disable 'hal' from polling your cdrom with:  \n"
+-"hal-disable-polling --device /dev/scd0 'hal' is the component that auto-"
++"hal-disable-polling --device /dev/cdrom 'hal' is the component that auto-"
+ "opens a\n"
+ "window if you plug in a CD but disables SATA power saving from kicking in."
+ msgstr ""
+-"Vorschlag: Hindern sie mit: \"hal-disable-polling --device /dev/scd0\"\n"
++"Vorschlag: Hindern sie mit: \"hal-disable-polling --device /dev/cdrom\"\n"
+ "hal daran das CD-Laufwerk abzufragen. hal startet nach dem Einlegen einer "
+ "CD\n"
+ "autom. einen Dateimanager. Die Abfragen verhindern den SATA Energiesparmodus."
+diff -Nurwd powertop-1.9/po/fi.po powertop-1.9.orig/po/fi.po
+--- powertop-1.9/po/fi.po	2007-10-28 14:10:57.000000000 +0100
++++ powertop-1.9.orig/po/fi.po	2007-12-16 23:44:26.000000000 +0100
+@@ -228,12 +228,12 @@
+ #: powertop.c:743
+ msgid ""
+ "Suggestion: Disable 'hal' from polling your cdrom with:  \n"
+-"hal-disable-polling --device /dev/scd0 'hal' is the component that auto-"
++"hal-disable-polling --device /dev/cdrom 'hal' is the component that auto-"
+ "opens a\n"
+ "window if you plug in a CD but disables SATA power saving from kicking in."
+ msgstr ""
+ "Ehdotus: Estä Hal-palvelua tarkkailemasta CD-asemaa seuraavalla komennolla:\n"
+-"\thal-disable-polling --device /dev/scd0\n"
++"\thal-disable-polling --device /dev/cdrom\n"
+ "Hal on palvelu, joka liittää CD:n tiedostojärjestelmään automaattisesti, "
+ "mutta samalla estää SATA-virransäästöä aktivoitumasta."
+ 
+diff -Nurwd powertop-1.9/po/fr.po powertop-1.9.orig/po/fr.po
+--- powertop-1.9/po/fr.po	2007-10-29 18:41:12.000000000 +0100
++++ powertop-1.9.orig/po/fr.po	2007-12-16 23:44:26.000000000 +0100
+@@ -224,10 +224,10 @@
+ #: powertop.c:743
+ msgid ""
+ "Suggestion: Disable 'hal' from polling your cdrom with:  \n"
+-"hal-disable-polling --device /dev/scd0 'hal' is the component that auto-opens a\n"
++"hal-disable-polling --device /dev/cdrom 'hal' is the component that auto-opens a\n"
+ "window if you plug in a CD but disables SATA power saving from kicking in."
+ msgstr ""
+-"Suggestion : empêchez hal de surveiller votre cdrom avec : hal-disable-polling --device /dev/scd0\n"
++"Suggestion : empêchez hal de surveiller votre cdrom avec : hal-disable-polling --device /dev/cdrom\n"
+ "hal est le composant qui ouvre automatiquement une fenêtre lorsque vous insérez\n"
+ "un CD, mais qui empêche les économies d'énergie sur le bus SATA."
+ 
+diff -Nurwd powertop-1.9/po/hu.po powertop-1.9.orig/po/hu.po
+--- powertop-1.9/po/hu.po	2007-10-28 20:38:25.000000000 +0100
++++ powertop-1.9.orig/po/hu.po	2007-12-16 23:44:26.000000000 +0100
+@@ -266,11 +266,11 @@
+ #: powertop.c:743
+ msgid ""
+ "Suggestion: Disable 'hal' from polling your cdrom with:  \n"
+-"hal-disable-polling --device /dev/scd0 'hal' is the component that auto-opens a\n"
++"hal-disable-polling --device /dev/cdrom 'hal' is the component that auto-opens a\n"
+ "window if you plug in a CD but disables SATA power saving from kicking in."
+ msgstr ""
+ "Tanács: Ne engedd a 'hal' alkalmazásnak a CD-meghajtó állandó figyelését:  \n"
+-"hal-disable-polling /dev/scd0    a 'hal' egy alkalmazás, ami automatikusan \n"
++"hal-disable-polling --device /dev/cdrom    a 'hal' egy alkalmazás, ami automatikusan \n"
+ "megnyit egy grafikus ablakot, ha egy CD-lemezt helyezel a meghajtóba, \n"
+ "viszont ez megakadályozza a SATA energiatakarékos üzemmód bekapcsolását."
+ 
+diff -Nurwd powertop-1.9/po/id.po powertop-1.9.orig/po/id.po
+--- powertop-1.9/po/id.po	2007-10-28 20:38:09.000000000 +0100
++++ powertop-1.9.orig/po/id.po	2007-12-16 23:44:26.000000000 +0100
+@@ -231,12 +231,12 @@
+ #: powertop.c:745
+ msgid ""
+ "Suggestion: Disable 'hal' from polling your cdrom with:  \n"
+-"hal-disable-polling --device /dev/scd0 'hal' is the component that auto-"
++"hal-disable-polling --device /dev/cdrom 'hal' is the component that auto-"
+ "opens a\n"
+ "window if you plug in a CD but disables SATA power saving from kicking in."
+ msgstr ""
+ "Saran: Atur agar 'hal' tidak melakukan polling ke cdrom anda dengan:  \n"
+-"hal-disable-polling --device /dev/sdc0 'hal' akan membuka otomatis \n"
++"hal-disable-polling --device /dev/cdrom 'hal' akan membuka otomatis \n"
+ "perambah berkas ketika CD dimasukkan tapi mencegah penghematan daya SATA "
+ "bekerja."
+ 
+diff -Nurwd powertop-1.9/po/ja.po powertop-1.9.orig/po/ja.po
+--- powertop-1.9/po/ja.po	2007-08-19 19:41:19.000000000 +0200
++++ powertop-1.9.orig/po/ja.po	2007-12-16 23:44:26.000000000 +0100
+@@ -216,12 +216,12 @@
+ #: powertop.c:721
+ msgid ""
+ "Suggestion: Disable 'hal' from polling your cdrom with:  \n"
+-"hal-disable-polling --device /dev/scd0 'hal' is the component that auto-"
++"hal-disable-polling --device /dev/cdrom 'hal' is the component that auto-"
+ "opens a\n"
+ "window if you plug in a CD but disables SATA power saving from kicking in."
+ msgstr ""
+ "提案: 次のコマンドでhalによるcdromのポーリング機能が無効になります。\n"
+-"hal-disable-polling --device /dev/scd0\n"
++"hal-disable-polling --device /dev/cdrom\n"
+ "halはCD挿入時の自動実行機能を提供しますが、SATAの省電力が無効になります。"
+ 
+ #: powertop.c:698 powertop.c:702
+diff -Nurwd powertop-1.9/po/pl.po powertop-1.9.orig/po/pl.po
+--- powertop-1.9/po/pl.po	2007-06-19 23:31:08.000000000 +0200
++++ powertop-1.9.orig/po/pl.po	2007-12-16 23:44:26.000000000 +0100
+@@ -190,12 +190,12 @@
+ #: powertop.c:649
+ msgid ""
+ "Suggestion: Disable 'hal' from polling your cdrom with:  \n"
+-"hal-disable-polling /dev/scd0        'hal' is the component that auto-opens "
++"hal-disable-polling --device /dev/cdrom        'hal' is the component that auto-opens "
+ "a\n"
+ "window if you plug in a CD but disables SATA power saving from kicking in."
+ msgstr ""
+ "Podpowiedź: wyłącz sprawdzanie CD-ROM-u przez \"hal\" za pomocą:  \n"
+-"hal-disable-polling /dev/scd0        \"hal\" jest składnikiem, który\n"
++"hal-disable-polling --device /dev/cdrom        \"hal\" jest składnikiem, który\n"
+ "automatycznie otwiera okno, gdy włożysz CD, ale wyłącza oszczędzanie\n"
+ "energii SATA."
+ 
+diff -Nurwd powertop-1.9/po/pt_BR.po powertop-1.9.orig/po/pt_BR.po
+--- powertop-1.9/po/pt_BR.po	2007-10-29 06:12:56.000000000 +0100
++++ powertop-1.9.orig/po/pt_BR.po	2007-12-16 23:44:26.000000000 +0100
+@@ -223,7 +223,7 @@
+ #: powertop.c:746
+ msgid ""
+ "Suggestion: Disable 'hal' from polling your cdrom with:  \n"
+-"hal-disable-polling --device /dev/scd0 'hal' is the component that auto-opens a\n"
++"hal-disable-polling --device /dev/cdrom 'hal' is the component that auto-opens a\n"
+ "window if you plug in a CD but disables SATA power saving from kicking in."
+ msgstr ""
+ "Sugestão: Desabilite 'hal' de acessar o seu cdrom com: \n"
+diff -Nurwd powertop-1.9/po/ru.po powertop-1.9.orig/po/ru.po
+--- powertop-1.9/po/ru.po	2007-06-17 17:47:57.000000000 +0200
++++ powertop-1.9.orig/po/ru.po	2007-12-16 23:44:26.000000000 +0100
+@@ -193,12 +193,12 @@
+ #: powertop.c:647
+ msgid ""
+ "Suggestion: Disable 'hal' from polling your cdrom with:  \n"
+-"hal-disable-polling /dev/scd0        'hal' is the component that auto-opens "
++"hal-disable-polling --device /dev/cdrom        'hal' is the component that auto-opens "
+ "a\n"
+ "window if you plug in a CD but disables SATA power saving from kicking in."
+ msgstr ""
+ "Совет: запретите 'hal' проверять Ваш cdrom командой:  \n"
+-"hal-disable-polling /dev/scd0  'hal'автоматически открывает окно, когда \n"
++"hal-disable-polling --device /dev/cdrom  'hal'автоматически открывает окно, когда \n"
+ "Вы вставляете CD, но он мешает нормальной работе энергосбережения SATA."
+ 
+ #: powertop.c:624 powertop.c:628
+diff -Nurwd powertop-1.9/po/zh.po powertop-1.9.orig/po/zh.po
+--- powertop-1.9/po/zh.po	2007-10-28 20:37:59.000000000 +0100
++++ powertop-1.9.orig/po/zh.po	2007-12-16 23:44:26.000000000 +0100
+@@ -469,11 +469,11 @@
+ #: /home/john/packages/powertop/powertop.c:743
+ msgid ""
+ "Suggestion: Disable 'hal' from polling your cdrom with:  \n"
+-"hal-disable-polling --device /dev/scd0 'hal' is the component that auto-opens a\n"
++"hal-disable-polling --device /dev/cdrom 'hal' is the component that auto-opens a\n"
+ "window if you plug in a CD but disables SATA power saving from kicking in."
+ msgstr ""
+ "建議: 使用下列指令取消 'hal' 檢查光碟狀態: \n"
+-"hal-disable-polling --device /dev/scd0 'hal' 會在插入光碟時自動開啟檔案總管 \n"
++"hal-disable-polling --device /dev/cdrom 'hal' 會在插入光碟時自動開啟檔案總管 \n"
+ "但是會使得 SATA 脫離省電模式."
+ 
+ #: /home/john/packages/powertop/powertop.c:749
+diff -Nurwd powertop-1.9/powertop.c powertop-1.9.orig/powertop.c
+--- powertop-1.9/powertop.c	2007-10-29 18:45:56.000000000 +0100
++++ powertop-1.9.orig/powertop.c	2007-12-16 23:44:54.000000000 +0100
+@@ -744,7 +744,7 @@
+ 		/* suggest to stop hal polilng if it shows up in the top 50 and wakes up too much*/
+ 		suggest_process_death("hald-addon-stor : ", "hald-addon-storage", lines, min(linehead,50), 2.0,
+ 				    _( "Suggestion: Disable 'hal' from polling your cdrom with:  \n" 
+-				       "hal-disable-polling --device /dev/scd0 'hal' is the component that auto-opens a\n"
++				       "hal-disable-polling --device /dev/cdrom 'hal' is the component that auto-opens a\n"
+ 				       "window if you plug in a CD but disables SATA power saving from kicking in."), 30);
+ 
+ 		/* suggest to kill sealert; it wakes up 10 times/second on a default F7 install*/
--- powertop-1.9.orig/debian/patches/fix-suggest-usb-autosuspend.dpatch
+++ powertop-1.9/debian/patches/fix-suggest-usb-autosuspend.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## fix-suggest-usb-autosuspend.dpatch by Patrick Winnertz <patrick.winnertz@skolelinux.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: fix usb_autosuspend.
+
+@DPATCH@
+diff -urNad powertop-1.9~/usb.c powertop-1.9/usb.c
+--- powertop-1.9~/usb.c	2007-08-20 23:00:32.000000000 +0200
++++ powertop-1.9/usb.c	2007-11-22 13:33:48.000000000 +0100
+@@ -89,7 +89,7 @@
+ 			fclose(file);
+ 			continue;
+ 		}
+-		if (strtoull(line, NULL,10)<1)
++		if (strtoull(line, NULL,10) < 0)
+ 			need_hint = 1;
+ 
+ 		fclose(file);
--- powertop-1.9.orig/debian/rules
+++ powertop-1.9/debian/rules
@@ -0,0 +1,7 @@
+#!/usr/bin/make -f
+
+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/powertop
--- powertop-1.9.orig/debian/watch
+++ powertop-1.9/debian/watch
@@ -0,0 +1,8 @@
+# watch control file for uscan.  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://www.linuxpowertop.org/download/powertop-(.*)\.tar\.gz
