summaryrefslogtreecommitdiff
blob: 702c128f3d85f57df25a54b9c078b0c3da2550b6 (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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils toolchain-funcs

DESCRIPTION="Make pointer-driven interfaces easier and faster for users to operate"
HOMEPAGE="http://www.semicomplete.com/projects/keynav/"
SRC_URI="http://semicomplete.googlecode.com/files/${P}.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

RDEPEND="x11-libs/libX11
	x11-libs/libXinerama
	x11-libs/libXext
	x11-libs/libXtst"
DEPEND="x11-proto/xproto
	${RDEPEND}"

src_compile() {
	emake CC="$(tc-getCC)" LD="$(tc-getLD)" || die "Unable to build sources"
}

src_install() {
	dodoc README CHANGELIST || die "Unable to install documentation"
	dobin keynav || die "Unable to install keynav binary"
	insinto /etc
	doins keynavrc || die "Unable to install keynavrc"
}