1 # Copyright 1999-2013 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
7 PYTHON_COMPAT=( python2_{6,7} )
9 inherit autotools eutils python-single-r1
11 DESCRIPTION="Tools and bindings for kernel input event device emulation, data capture and replay"
12 HOMEPAGE="https://launchpad.net/evemu"
13 SRC_URI="http://launchpad.net/${PN}/trunk/${P}/+download/${P}.tar.gz"
15 LICENSE="LGPL-3 GPL-3"
17 KEYWORDS="~amd64 ~x86"
20 RDEPEND="${PYTHON_DEPS}"
21 DEPEND="app-text/asciidoc
26 # add --disable-werror flag - upstream bug: https://bugs.launchpad.net/evemu/+bug/1095836
27 epatch "${FILESDIR}"/${P}-werror.patch
30 sed -e "s|${PN}|man1/${PN}|" -i tools/${PN}-record.1 tools/${PN}-play.1 || die
36 $(use_enable static-libs static)
41 use static-libs || prune_libtool_files