diff options
author | Marcelo Góes <vanquirius@gentoo.org> | 2005-07-31 04:40:56 +0000 |
---|---|---|
committer | Marcelo Góes <vanquirius@gentoo.org> | 2005-07-31 04:40:56 +0000 |
commit | 1ca614516bfc6caa7fccef5bf87725b43adf6a45 (patch) | |
tree | 5f4a54ee90665dd6069a4555a81e5b17b90978b4 /app-misc/joy2key/joy2key-1.6.1.ebuild | |
parent | Version bumped. Fixed obsolete prime.scm problem with uim-0.4.7.1. (diff) | |
download | gentoo-2-1ca614516bfc6caa7fccef5bf87725b43adf6a45.tar.gz gentoo-2-1ca614516bfc6caa7fccef5bf87725b43adf6a45.tar.bz2 gentoo-2-1ca614516bfc6caa7fccef5bf87725b43adf6a45.zip |
version bump 1.6.1
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'app-misc/joy2key/joy2key-1.6.1.ebuild')
-rw-r--r-- | app-misc/joy2key/joy2key-1.6.1.ebuild | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/app-misc/joy2key/joy2key-1.6.1.ebuild b/app-misc/joy2key/joy2key-1.6.1.ebuild new file mode 100644 index 000000000000..f3b7249f0981 --- /dev/null +++ b/app-misc/joy2key/joy2key-1.6.1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-misc/joy2key/joy2key-1.6.1.ebuild,v 1.1 2005/07/31 04:40:56 vanquirius Exp $ + +inherit eutils + +DESCRIPTION="An application that translates joystick events to keyboard events" +HOMEPAGE="http://interreality.org/~tetron/technology/joy2key/" +SRC_URI="${HOMEPAGE}/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~amd64" +IUSE="X" + +DEPEND="X? ( virtual/x11 )" + +src_unpack() { + unpack ${A} + cd ${S} + # fix-configure.in.diff fix issue with blank -L blocking -lX11 + # Thanks to Joshua Baergen in bug #82685 + + epatch ${FILESDIR}/${PV}-fix-configure.diff +} + +src_compile() { + autoreconf --force + + 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 +} |