buildroot/package/x11r7/xdriver_xf86-input-joystick/xdriver_xf86-input-joystick.mk

23 lines
956 B
Makefile

################################################################################
#
# xdriver_xf86-input-joystick
#
################################################################################
XDRIVER_XF86_INPUT_JOYSTICK_VERSION = 1.6.4
XDRIVER_XF86_INPUT_JOYSTICK_SOURCE = xf86-input-joystick-$(XDRIVER_XF86_INPUT_JOYSTICK_VERSION).tar.xz
XDRIVER_XF86_INPUT_JOYSTICK_SITE = https://xorg.freedesktop.org/archive/individual/driver
XDRIVER_XF86_INPUT_JOYSTICK_LICENSE = MIT
XDRIVER_XF86_INPUT_JOYSTICK_LICENSE_FILES = COPYING
XDRIVER_XF86_INPUT_JOYSTICK_DEPENDENCIES = xserver_xorg-server xorgproto
XDRIVER_XF86_INPUT_JOYSTICK_AUTORECONF = YES
define XDRIVER_XF86_INPUT_JOYSTICK_CONF
$(INSTALL) -m 0644 -D \
$(XDRIVER_XF86_INPUT_JOYSTICK_PKGDIR)/50-joystick.conf \
$(TARGET_DIR)/usr/share/X11/xorg.conf.d/50-joystick.conf
endef
XDRIVER_XF86_INPUT_JOYSTICK_POST_INSTALL_TARGET_HOOKS += XDRIVER_XF86_INPUT_JOYSTICK_CONF
$(eval $(autotools-package))