2013-12-20 16:05:23 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# libevdev
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2014-06-01 23:43:42 +02:00
|
|
|
LIBEVDEV_VERSION = 1.2.1
|
2013-12-20 16:05:23 +01:00
|
|
|
LIBEVDEV_SITE = http://cgit.freedesktop.org/libevdev/snapshot
|
|
|
|
LIBEVDEV_LICENSE = X11
|
|
|
|
LIBEVDEV_LICENSE_FILES = COPYING
|
|
|
|
|
|
|
|
# Uses PKG_CHECK_MODULES() in configure.ac
|
|
|
|
LIBEVDEV_DEPENDENCIES = host-pkgconf
|
|
|
|
|
2013-12-28 13:27:52 +01:00
|
|
|
# Needs Python to generate a header file
|
2013-12-28 15:58:16 +01:00
|
|
|
# We can't rely on the system Python, since it may be too old
|
2013-12-28 13:27:52 +01:00
|
|
|
# (missing argparse in python 2.6)
|
2014-04-06 13:36:26 +02:00
|
|
|
# libevdev build scripts support both python2 and python3, so avoid unneeded
|
|
|
|
# dependency on host-python.
|
|
|
|
LIBEVDEV_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python)
|
2013-12-28 13:27:52 +01:00
|
|
|
|
2013-12-20 16:05:23 +01:00
|
|
|
# package source code coming from git, so it doesn't have generated
|
|
|
|
# configure and Makefile.in
|
|
|
|
LIBEVDEV_AUTORECONF = YES
|
|
|
|
LIBEVDEV_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|