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

DESCRIPTION="Utility for manipulating the scancode/keycode translation tables of
keyboard drivers"
HOMEPAGE="http://0pointer.de/lennart/projects/keyfuzz/"
SRC_URI="http://0pointer.de/lennart/projects/${PN}/${P}.tar.gz"

LICENSE="|| ( GPL-2 GPL-3 )"
SLOT="0"
KEYWORDS="~x86"
IUSE="doc"

DEPEND="doc? ( www-client/lynx )"
RDEPEND=""

src_compile() {
	econf $(use_enable doc lynx) || die "econf failed"
	emake || die "emake failed"
}

src_install() {
	dobin src/keyfuzz || die "dobin failed"
	use doc && dodoc README || die "dodoc failed"
	doman man/* || die "doman failed"
}