summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-02-10 20:26:06 +0000
committerMike Frysinger <vapier@gentoo.org>2012-02-10 20:26:06 +0000
commit88f2c5a307ab8b36bce9fb75a7e23020dbd874b3 (patch)
tree277a05850c0f8720a3c86c739ed4bd4f32fba160 /app-misc/evtest
parentAdd fixes for boost-1.48 and its PyABI specific libs, #401393 (diff)
downloadgentoo-2-88f2c5a307ab8b36bce9fb75a7e23020dbd874b3.tar.gz
gentoo-2-88f2c5a307ab8b36bce9fb75a7e23020dbd874b3.tar.bz2
gentoo-2-88f2c5a307ab8b36bce9fb75a7e23020dbd874b3.zip
Initial ebuild based on ChromiumOS ebuild.
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/evtest')
-rw-r--r--app-misc/evtest/ChangeLog10
-rw-r--r--app-misc/evtest/evtest-1.29.ebuild37
-rw-r--r--app-misc/evtest/metadata.xml7
3 files changed, 54 insertions, 0 deletions
diff --git a/app-misc/evtest/ChangeLog b/app-misc/evtest/ChangeLog
new file mode 100644
index 000000000000..3fa037ccb236
--- /dev/null
+++ b/app-misc/evtest/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-misc/evtest
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/evtest/ChangeLog,v 1.1 2012/02/10 20:26:06 vapier Exp $
+
+*evtest-1.29 (10 Feb 2012)
+
+ 10 Feb 2012; Mike Frysinger <vapier@gentoo.org> +evtest-1.29.ebuild,
+ +metadata.xml:
+ Initial ebuild based on ChromiumOS ebuild.
+
diff --git a/app-misc/evtest/evtest-1.29.ebuild b/app-misc/evtest/evtest-1.29.ebuild
new file mode 100644
index 000000000000..f3e506c39eb5
--- /dev/null
+++ b/app-misc/evtest/evtest-1.29.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/evtest/evtest-1.29.ebuild,v 1.1 2012/02/10 20:26:06 vapier Exp $
+
+EAPI="4"
+
+inherit autotools eutils
+
+DESCRIPTION="test program for capturing input device events"
+HOMEPAGE="http://cgit.freedesktop.org/evtest/"
+SRC_URI="http://cgit.freedesktop.org/evtest/snapshot/${P}.tar.bz2
+ mirror://gentoo/${P}-mans.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="+xml"
+
+# We bundled the man pages ourselves to avoid xmlto/asciidoc.
+# We need libxml2 for the capture tool. While at runtime,
+# we have a file that can be used with xsltproc, we don't
+# directly need it ourselves, so don't depend on libxslt.
+RDEPEND="xml? ( dev-libs/libxml2 )"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig"
+
+src_prepare() {
+ # No pretty configure flag :/
+ sed -i -r \
+ -e "s:HAVE_LIBXML=(yes|no):HAVE_LIBXML=$(usex xml):g" \
+ configure.ac || die
+
+ # We pre-compile the man pages.
+ export XMLTO=/bin/true ASCIIDOC=/bin/true
+
+ eautoreconf
+}
diff --git a/app-misc/evtest/metadata.xml b/app-misc/evtest/metadata.xml
new file mode 100644
index 000000000000..7123fa8f9ece
--- /dev/null
+++ b/app-misc/evtest/metadata.xml
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer>
+ <email>vapier@gentoo.org</email>
+</maintainer>
+</pkgmetadata>