summaryrefslogtreecommitdiff
blob: 11f1f0f98d09fc85ac09f736b91f1456acc30fd7 (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
30
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DESCRIPTION="An application that translates joystick events to keyboard events"
HOMEPAGE="https://sourceforge.net/projects/joy2key"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE="X"

RDEPEND="
	X? ( x11-libs/libX11
	x11-apps/xwininfo )"
DEPEND="
	${RDEPEND}
	X? ( x11-proto/xproto )"

DOCS=( AUTHORS ChangeLog joy2keyrc.sample rawscancodes README TODO )

src_configure() {
	econf --disable-dependency-tracking $(use_enable X)
}

src_install() {
	default
}