kumquat-buildroot/package/evemu/evemu.mk
Ludovic Desroches a9e54f2cdf package/evemu: add staging installation
To make the evdev library available for other packages, install it to the
staging directory.

Signed-off-by: Ludovic Desroches <ludovic.desroches@microchip.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2024-05-09 18:42:43 +02:00

34 lines
1.0 KiB
Makefile

################################################################################
#
# evemu
#
################################################################################
EVEMU_VERSION = 2.7.0
EVEMU_SITE = http://www.freedesktop.org/software/evemu
EVEMU_SOURCE = evemu-$(EVEMU_VERSION).tar.xz
EVEMU_LICENSE = LGPL-3.0 (library), GPL-3.0 (tools)
EVEMU_LICENSE_FILES = COPYING
EVEMU_INSTALL_STAGING = YES
# asciidoc used to generate manpages, which we don't need, and if it's
# present on the build host, it ends getting called with our host-python
# which doesn't have all the needed modules enabled, breaking the build
EVEMU_CONF_ENV = ac_cv_path_ASCIIDOC=""
# disable tests generation because of C++ dependency
EVEMU_CONF_OPTS += --disable-tests
# Uses PKG_CHECK_MODULES() in configure.ac
EVEMU_DEPENDENCIES = host-pkgconf libevdev
# Check for target python
ifeq ($(BR2_PACKAGE_PYTHON3),y)
EVEMU_CONF_OPTS += --enable-python-bindings
EVEMU_DEPENDENCIES += python3
else
EVEMU_CONF_OPTS += --disable-python-bindings
endif
$(eval $(autotools-package))