summaryrefslogtreecommitdiff
blob: cf139ed6ebaecd9d1b2b997ffb836a9922d51f02 (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
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils linux-info

DESCRIPTION="Configuration GUI for Belkin Nostromo n50/n52 speedpads."
HOMEPAGE="http://sf.net/projects/nostromodriver"
SRC_URI="mirror://sourceforge/nostromodriver/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="x11-libs/libXft
	x11-libs/libXtst
	dev-libs/libxml2
	x11-libs/gtk+"
DEPEND="${RDEPEND}
	x11-proto/xproto
	x11-libs/fltk
	x11-proto/xextproto"
CONFIG_CHECK="INPUT_EVDEV"

src_install() {
	einstall || die "einstall failed"
	insinto /etc/udev/rules.d
	doins "${FILESDIR}/60-nostromo.rules"

	make_desktop_entry nostromo_config "Nostromo Configuration" n50_tray.png "System"
	make_desktop_entry nostromo_daemon "Nostromo Daemon" n50_tray.png "System"
}