Permalink
Browse files

Add Debian/Ubuntu packaging information

  • Loading branch information...
1 parent a581028 commit f7d045bad674685dc38162768186133a5a2f2477 @bseibold committed Mar 12, 2012
View
@@ -0,0 +1,5 @@
+tpkbdctl (0.01-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Bernhard Seibold <bernhard.seibold@googlemail.com> Mon, 12 Mar 2012 10:48:36 +0100
View
@@ -0,0 +1 @@
+8
View
@@ -0,0 +1,16 @@
+Source: tpkbdctl
+Section: utils
+Priority: extra
+Maintainer: Bernhard Seibold <bernhard.seibold@googlemail.com>
+Build-Depends: debhelper (>= 8.0.0)
+Standards-Version: 3.9.2
+Homepage: https://github.com/bseibold/tpkbdctl
+Vcs-Git: git://github.com/bseibold/tpkbdctl.git
+Vcs-Browser: https://github.com/bseibold/tpkbdctl
+
+Package: tpkbdctl
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Lenovo ThinkPad USB Keyboard Control Tool
+ This tool lets you control features of the Lenovo ThinkPad USB Keyboard
+ with TrackPoint like sensitivity of the trackpoint.
View
@@ -0,0 +1,19 @@
+Files: *
+Copyright: 2012 Bernhard Seibold <bernhard.seibold@googlemail.com>
+License: GPL-2
+ 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 program. If not, see <http://www.gnu.org/licenses/>
+ .
+ On Debian systems, the complete text of the GNU General
+ Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
+
View
@@ -0,0 +1 @@
+README.md
View
@@ -0,0 +1 @@
+tpkbdctl_0.01-1_amd64.deb utils extra
View
@@ -0,0 +1 @@
+debian/tpkbdctl_runner lib/udev
View
@@ -0,0 +1,13 @@
+#!/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
+
+%:
+ dh $@
View
@@ -0,0 +1 @@
+3.0 (quilt)
View
@@ -0,0 +1,4 @@
+# Change this to adjust the sensitivity, valid range 1-255
+TPKBDCTL_SENS="180"
+
+TPKBDCTL_OPTIONS="-s ${TPKBDCTL_SENS}"
@@ -0,0 +1,11 @@
+# Automatically added by dh_installudev
+if [ "$1" = configure ]; then
+ if [ -e "/etc/udev/rules.d/z60_tpkbdctl.rules" ]; then
+ echo "Preserving user changes to /etc/udev/rules.d/60-tpkbdctl.rules ..."
+ if [ -e "/etc/udev/rules.d/60-tpkbdctl.rules" ]; then
+ mv -f "/etc/udev/rules.d/60-tpkbdctl.rules" "/etc/udev/rules.d/60-tpkbdctl.rules.dpkg-new"
+ fi
+ mv -f "/etc/udev/rules.d/z60_tpkbdctl.rules" "/etc/udev/rules.d/60-tpkbdctl.rules"
+ fi
+fi
+# End automatically added section
@@ -0,0 +1,11 @@
+# Automatically added by dh_installudev
+if [ "$1" = install ] || [ "$1" = upgrade ]; then
+ if [ -e "/etc/udev/rules.d/z60_tpkbdctl.rules" ]; then
+ if [ "`md5sum \"/etc/udev/rules.d/z60_tpkbdctl.rules\" | sed -e \"s/ .*//\"`" = \
+ "`dpkg-query -W -f='${Conffiles}' tpkbdctl | sed -n -e \"\\\\' /etc/udev/rules.d/z60_tpkbdctl.rules '{s/ obsolete$//;s/.* //p}\"`" ]
+ then
+ rm -f "/etc/udev/rules.d/z60_tpkbdctl.rules"
+ fi
+ fi
+fi
+# End automatically added section
@@ -0,0 +1,2 @@
+shlibs:Depends=libc6 (>= 2.2.5)
+misc:Depends=
View
@@ -0,0 +1 @@
+SUBSYSTEM=="hidraw", ATTRS{idVendor}=="17ef", ATTRS{idProduct}=="6009", ACTION=="add", RUN+="tpkbdctl_runner"
View
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+. /etc/default/tpkbdctl
+
+/usr/bin/tpkbdctl -d ${DEVNAME} ${TPKBDCTL_OPTIONS}

0 comments on commit f7d045b

Please sign in to comment.