Some work on Debian/Ubuntu package

This commit is contained in:
Ingo Ruhnke 2010-05-07 03:16:43 +02:00
parent 57e80ae073
commit a6c20f687f
7 changed files with 158 additions and 0 deletions

5
debian/changelog vendored Normal file
View file

@ -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

1
debian/compat vendored Normal file
View file

@ -0,0 +1 @@
7

26
debian/control vendored Normal file
View file

@ -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.

31
debian/copyright vendored Normal file
View file

@ -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'.

2
debian/dirs vendored Normal file
View file

@ -0,0 +1,2 @@
usr/bin
usr/share/man/man1

0
debian/docs vendored Normal file
View file

93
debian/rules vendored Executable file
View file

@ -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