summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Tolboom <ryan@gentoo.org>2001-10-06 21:57:36 +0000
committerRyan Tolboom <ryan@gentoo.org>2001-10-06 21:57:36 +0000
commitc6b4740bc460008ecd86bad48be55ef6bcc6341c (patch)
treec4b95dd038b80645ca524bc399c04c4df69ed34f /app-misc
parentremoved old location (diff)
downloadgentoo-2-c6b4740bc460008ecd86bad48be55ef6bcc6341c.tar.gz
gentoo-2-c6b4740bc460008ecd86bad48be55ef6bcc6341c.tar.bz2
gentoo-2-c6b4740bc460008ecd86bad48be55ef6bcc6341c.zip
Added joy2key a program to convert joystick events to keyboard events.
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/joy2key/files/digest-joy2key-1.61
-rw-r--r--app-misc/joy2key/joy2key-1.6.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/app-misc/joy2key/files/digest-joy2key-1.6 b/app-misc/joy2key/files/digest-joy2key-1.6
new file mode 100644
index 000000000000..5327a4ab87e9
--- /dev/null
+++ b/app-misc/joy2key/files/digest-joy2key-1.6
@@ -0,0 +1 @@
+MD5 efe27b01dd142973ae79daea0c00cd81 joy2key-1.6.tar.gz
diff --git a/app-misc/joy2key/joy2key-1.6.ebuild b/app-misc/joy2key/joy2key-1.6.ebuild
new file mode 100644
index 000000000000..2474e8bd9f36
--- /dev/null
+++ b/app-misc/joy2key/joy2key-1.6.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2000 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Ryan Tolboom <ryan@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/app-misc/joy2key/joy2key-1.6.ebuild,v 1.1 2001/10/06 21:57:36 ryan Exp $
+
+A=${P}.tar.gz
+S=${WORKDIR}/${P}
+DESCRIPTION="An application that translates joystick events to keyboard events"
+SRC_URI="http://www-unix.oit.umass.edu/~tetron/technology/joy2key/${A}"
+HOMEPAGE="http://www-unix.out.umass.edu/~tetron/technology/joy2key/"
+
+DEPEND="( virtual/glibc )
+ X? ( virtual/x11 )"
+
+src_compile() {
+
+ local myconf
+ if [ -z "`use X`" ] ; then
+ myconf="--disable-X"
+ fi
+
+ try ./configure --host=${CHOST} ${myconf}
+ try make
+
+}
+
+src_install () {
+
+ dobin joy2key
+ doman joy2key.1
+ dodoc README joy2keyrc.sample
+
+}