# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-misc/btnx/btnx-0.4.5.ebuild $ inherit eutils DESCRIPTION="button - extension deamon (btnx) for your mouse" HOMEPAGE="http://www.ollisalonen.com/btnx/" SRC_URI="http://www.ollisalonen.com/btnx/btnx-0.4.5.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86" #NO TESTS ON OTHER SYSTEMS IUSE="" DEPEND="" #BUT: website: needs uinput and udev in the kernel #and install btnx-config to use the deamon! src_unpack() { einfo "unpack ${A}" unpack ${A} einfo "cd ${S}" cd "${S}" epatch ${FILESDIR}/btnx-0.4.5.patch } src_compile() { einfo "compile source" emake || die "emake failed" } src_install() { emake DESTDIR="${D}" install || die "emake install failed." elog "You'll need to install btnx-config to use btnx" }