You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-libs/libevdev/libevdev-0.6.ebuild

29 lines
757 B

# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevdev/libevdev-0.6.ebuild,v 1.5 2015/01/25 16:45:42 armin76 Exp $
EAPI=5
XORG_MULTILIB=yes
PYTHON_COMPAT=( python{2_5,2_6,2_7} )
inherit python-single-r1 xorg-2
EGIT_REPO_URI="git://anongit.freedesktop.org/${PN}.git"
DESCRIPTION="Handler library for evdev events"
if [[ ${PV} == 9999* ]] ; then
SRC_URI=""
else
SRC_URI="http://www.freedesktop.org/software/${PN}/${P}.tar.xz"
fi
RESTRICT="test" # Tests need to run as root.
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86"
IUSE=""
src_prepare() {
python_fix_shebang libevdev/make-event-names.py
xorg-2_src_prepare
}