blob: 8e24df790ea9e70f6c245c89b75b2450fdfc1346 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/joy2key/joy2key-1.6.ebuild,v 1.16 2004/06/24 22:17:42 agriffis Exp $
DESCRIPTION="An application that translates joystick events to keyboard events"
SRC_URI="http://www-unix.oit.umass.edu/~tetron/technology/joy2key/${P}.tar.gz"
HOMEPAGE="http://interreality.org/~tetron/technology/joy2key/"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
IUSE="X"
DEPEND="X? ( virtual/x11 )"
src_compile() {
local myconf
use X || myconf="--disable-X"
CFLAGS=${CFLAGS/-O?/}
econf ${myconf} || die "econf failed"
make || die
}
src_install() {
dobin joy2key
doman joy2key.1
dodoc README joy2keyrc.sample AUTHORS NEWS TODO
}
|