summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Schultz <mattsch@gmail.com>2013-01-03 16:46:38 -0600
committerMatthew Schultz <mattsch@gmail.com>2013-01-03 16:46:38 -0600
commitc49f250a97f47c0a40510b933e9d9d8faee8604b (patch)
tree66e5435c9ceb2939b2b0ce3a9d530cd7c8239eb9 /sys-apps/evemu/evemu-1.0.10.ebuild
parentdev-python/yenc is now on portage http://packages.gentoo.org/package/dev-pyth... (diff)
downloadsunrise-c49f250a97f47c0a40510b933e9d9d8faee8604b.tar.gz
sunrise-c49f250a97f47c0a40510b933e9d9d8faee8604b.tar.bz2
sunrise-c49f250a97f47c0a40510b933e9d9d8faee8604b.zip
sys-apps/evemu: New Ebuild for bug #450068. Thanks hasufell and mrueg for the review.
Diffstat (limited to 'sys-apps/evemu/evemu-1.0.10.ebuild')
-rw-r--r--sys-apps/evemu/evemu-1.0.10.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/sys-apps/evemu/evemu-1.0.10.ebuild b/sys-apps/evemu/evemu-1.0.10.ebuild
new file mode 100644
index 000000000..500246a7f
--- /dev/null
+++ b/sys-apps/evemu/evemu-1.0.10.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="5"
+
+PYTHON_COMPAT=( python2_{6,7} )
+
+inherit autotools eutils python-single-r1
+
+DESCRIPTION="Tools and bindings for kernel input event device emulation, data capture and replay"
+HOMEPAGE="https://launchpad.net/evemu"
+SRC_URI="http://launchpad.net/${PN}/trunk/${P}/+download/${P}.tar.gz"
+
+LICENSE="LGPL-3 GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="static-libs"
+
+RDEPEND="${PYTHON_DEPS}"
+DEPEND="app-text/asciidoc
+ app-text/xmlto
+ ${RDEPEND}"
+
+src_prepare() {
+ # add --disable-werror flag - upstream bug: https://bugs.launchpad.net/evemu/+bug/1095836
+ epatch "${FILESDIR}"/${P}-werror.patch
+ eautoreconf
+
+ sed -e "s|${PN}|man1/${PN}|" -i tools/${PN}-record.1 tools/${PN}-play.1 || die
+}
+
+src_configure() {
+ econf \
+ --disable-werror \
+ $(use_enable static-libs static)
+}
+
+src_install() {
+ default
+ use static-libs || prune_libtool_files
+}