libevdev.mk 908 B

123456789101112131415161718192021222324252627
  1. ################################################################################
  2. #
  3. # libevdev
  4. #
  5. ################################################################################
  6. LIBEVDEV_VERSION = 0.5
  7. LIBEVDEV_SITE = http://cgit.freedesktop.org/libevdev/snapshot
  8. LIBEVDEV_LICENSE = X11
  9. LIBEVDEV_LICENSE_FILES = COPYING
  10. # Uses PKG_CHECK_MODULES() in configure.ac
  11. LIBEVDEV_DEPENDENCIES = host-pkgconf
  12. # Needs Python to generate a header file
  13. # We can't rely on the system Python, since it may be too old
  14. # (missing argparse in python 2.6)
  15. # libevdev build scripts support both python2 and python3, so avoid unneeded
  16. # dependency on host-python.
  17. LIBEVDEV_DEPENDENCIES += $(if $(BR2_PACKAGE_PYTHON3),host-python3,host-python)
  18. # package source code coming from git, so it doesn't have generated
  19. # configure and Makefile.in
  20. LIBEVDEV_AUTORECONF = YES
  21. LIBEVDEV_INSTALL_STAGING = YES
  22. $(eval $(autotools-package))