diff options
Diffstat (limited to 'sys-apps/mouseemu/mouseemu-0.12.ebuild')
-rw-r--r-- | sys-apps/mouseemu/mouseemu-0.12.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/sys-apps/mouseemu/mouseemu-0.12.ebuild b/sys-apps/mouseemu/mouseemu-0.12.ebuild new file mode 100644 index 000000000000..b0c33169a8e8 --- /dev/null +++ b/sys-apps/mouseemu/mouseemu-0.12.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +inherit eutils + +DESCRIPTION="Emulates scrollwheel, right- & left-click for one-button mice/touchpads" +HOMEPAGE="http://geekounet.org/powerbook/" +SRC_URI="http://geekounet.org/powerbook/files/${PN}.tar.gz" +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="-* ppc" +IUSE="" +DEPEND="" + +src_unpack() { + unpack ${A} + mv ${WORKDIR}/${PN} ${WORKDIR}/${P} + epatch ${FILESDIR}/${P}-fix.diff +} + +src_compile() { + emake || die +} + +src_install() { + dosbin mouseemu + dodoc README COPYING + newinitd mouseemu.init.gentoo mouseemu + insinto /etc + doins mouseemu.conf +} + +pkg_postinst() { + einfo "For mouseemu to work you need uinput support in your kernel:" + einfo " CONFIG_INPUT_UINPUT=y" + einfo "(Device Drivers->Input device support->Misc->User level driver support)" + einfo "Don't forget to add mouseemu to your default runlevel:" + einfo " rc-update add mouseemu default" + einfo "Configuration is in /etc/mouseemu.conf." +} |