# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-misc/xinput/xinput-1.2.ebuild,v 1.6 2006/01/21 17:37:01 nelchael Exp $ DESCRIPTION="An utility to set XInput device parameters" HOMEPAGE="ftp://ftp.x.org/contrib/utilities/${PN}.README" SRC_URI="ftp://ftp.x.org/contrib/utilities/${P}.tar.gz" LICENSE="as-is" SLOT="0" KEYWORDS="x86 ppc ~amd64" IUSE="" RDEPEND="|| ( ( x11-libs/libX11 x11-libs/libXext x11-libs/libXi ) virtual/x11 )" DEPEND="${RDEPEND} || ( ( x11-misc/imake x11-proto/inputproto ) virtual/x11 )" src_compile() { xmkmf -a || die emake CDEBUGFLAGS="${CDEBUGFLAGS}" || die } src_install() { make DESTDIR=${D} install install.man dodoc ChangeLog README }