summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Franzmann2009-09-01 12:40:54 +0200
committerFlorian Franzmann2009-09-01 12:40:54 +0200
commitd03e2ee93e8fec599be330850b931d7e1ad4d2d6 (patch)
treeb10daf2b4941428b4f0d611ac995dc3252545f84
parentb4635fbb2632ce2563cf3d798b2a6d41c621920b (diff)
utils/joystick: new spell, a set of tools for handling joysticks
-rw-r--r--ChangeLog4
-rwxr-xr-xutils/joystick/BUILD4
-rwxr-xr-xutils/joystick/DEPENDS1
-rwxr-xr-xutils/joystick/DETAILS17
-rw-r--r--utils/joystick/HISTORY2
-rwxr-xr-xutils/joystick/INSTALL14
-rwxr-xr-xutils/joystick/PRE_BUILD3
7 files changed, 45 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 9601fc2668..38e15a55a2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-09-01 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
+ * utils/joystick: new spell, a set of tools for handling
+ joysticks
+
2009-08-31 Treeve Jelbert <treeve@sourcemage.org>
* accounts, group: add camera
diff --git a/utils/joystick/BUILD b/utils/joystick/BUILD
new file mode 100755
index 0000000000..a057968430
--- /dev/null
+++ b/utils/joystick/BUILD
@@ -0,0 +1,4 @@
+cd ${SOURCE_DIRECTORY}/utils &&
+make_single &&
+make &&
+make_normal
diff --git a/utils/joystick/DEPENDS b/utils/joystick/DEPENDS
new file mode 100755
index 0000000000..7ddd3ee43a
--- /dev/null
+++ b/utils/joystick/DEPENDS
@@ -0,0 +1 @@
+depends sdl
diff --git a/utils/joystick/DETAILS b/utils/joystick/DETAILS
new file mode 100755
index 0000000000..d6271b9a07
--- /dev/null
+++ b/utils/joystick/DETAILS
@@ -0,0 +1,17 @@
+ SPELL=joystick
+ VERSION=20051019
+ SOURCE="${SPELL}_${VERSION}.orig.tar.gz"
+ SOURCE_URL[0]=http://archive.ubuntu.com/ubuntu/pool/universe/j/${SPELL}/${SOURCE}
+ SOURCE_HASH=sha512:6ef91c3af1614b7db580ad349f306acb126fff6ced47bf2a854dd31550b174658ad12895ae289aeea9ef86415d270847aa441ea4a8f3c6ada0c153ac95c72ed5
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}.orig"
+ WEB_SITE="http://sourceforge.net/projects/linuxconsole"
+ LICENSE[0]=GPL
+ ENTERED=20090901
+ SHORT="some useful tools for using joysticks"
+cat << EOF
+set of testing and calibration tools for joysticks:
+
+ evtest (1) - input device event monitor inputattach (1) - attach serial-port
+ peripherals to the input subsystem jstest (1) - joystick test program jscal
+ (1) - joystick calibration program
+EOF
diff --git a/utils/joystick/HISTORY b/utils/joystick/HISTORY
new file mode 100644
index 0000000000..39eebcf515
--- /dev/null
+++ b/utils/joystick/HISTORY
@@ -0,0 +1,2 @@
+2009-09-01 Florian Franzmann <siflfran@hawo.stw.uni-erlangen.de>
+ * BUILD, DEPENDS, DETAILS, INSTALL, PRE_BUILD: spell created
diff --git a/utils/joystick/INSTALL b/utils/joystick/INSTALL
new file mode 100755
index 0000000000..762082f718
--- /dev/null
+++ b/utils/joystick/INSTALL
@@ -0,0 +1,14 @@
+for i in cvmove \
+ evtest \
+ ffcfstress \
+ ffmvforce \
+ ffset \
+ fftest \
+ inputattach \
+ jscal \
+ jstest;
+do
+ install -v -m 755 \
+ ${SOURCE_DIRECTORY}/utils/$i \
+ ${INSTALL_ROOT}/usr/bin
+done
diff --git a/utils/joystick/PRE_BUILD b/utils/joystick/PRE_BUILD
new file mode 100755
index 0000000000..76b88d373f
--- /dev/null
+++ b/utils/joystick/PRE_BUILD
@@ -0,0 +1,3 @@
+default_pre_build &&
+cd ${SOURCE_DIRECTORY}/utils &&
+sedit "s:CFLAGS.*-I:CFLAGS = $CFLAGS -I:" Makefile