# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-apps/inputd/inputd-0.0.4-r1.ebuild,v 1.1 2006/10/09 06:49:09 killerfox Exp $ inherit eutils DESCRIPTION="inputd is a user-space daemon to emulate key presses trough other key combinations" HOMEPAGE="http://hansmi.ch/software/inputd" SRC_URI="http://hansmi.ch/download/inputd/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~ppc" IUSE="" DEPEND=">=dev-libs/glib-2.8 >=sys-kernel/linux-headers-2.6.16" RDEPEND="sys-fs/udev" src_unpack() { unpack "${P}.tar.bz2" cd "${S}" epatch "${FILESDIR}/${PF}.diff" } src_install() { emake DESTDIR=${D} install || die 'installation failed.' newinitd ${FILESDIR}/inputd.init inputd dodoc README insinto /etc doins doc/inputd.conf }