summaryrefslogtreecommitdiffstats
path: root/package/libevdev/libevdev.mk
blob: fdaceb5cd17ccf83baa2bcec18bd316042635afd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
################################################################################
#
# libevdev
#
################################################################################

LIBEVDEV_VERSION = 0.5
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

# Needs Python to generate a header file
# We can't rely on the system Python, since it may be too old
# (missing argparse in python 2.6)
# 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)

# 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))
OpenPOWER on IntegriCloud