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
commitb35786f30d7c22545db597347cc0cd253af4fb36 (patch)
treef343273c02d45017709cd501f9b97d465392ba25 /app-misc
parentremoved old location (diff)
downloadhistorical-b35786f30d7c22545db597347cc0cd253af4fb36.tar.gz
historical-b35786f30d7c22545db597347cc0cd253af4fb36.tar.bz2
historical-b35786f30d7c22545db597347cc0cd253af4fb36.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
+
+}