summaryrefslogtreecommitdiff
blob: 980bcc130b551bbcff2ed761013b017c162c69fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit toolchain-funcs linux-info

DESCRIPTION="Tool for controlling Logitech MX Revolution mouses"
HOMEPAGE="http://goron.de/~froese/"
SRC_URI=""

LICENSE="public-domain"
SLOT="0"
KEYWORDS="~x86"

IUSE=""

RDEPEND=">=sys-fs/udev-104"

CONFIG_CHECK="USB_HIDDEV"
ERROR_USB_HIDDEN="You need to the CONFIG_USB_HIDDEV option turned on."

S=${WORKDIR}

src_compile() {
	$(tc-getCC) -DVERSION=${PV} ${CFLAGS} ${LDFLAGS} \
		${FILESDIR}/${P}.c -o ${PN} || die "Failed to compile ${PN}"
}

src_install() {
	dobin ${PN}
}