xref: /OK3568_Linux_fs/buildroot/package/xdotool/xdotool.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun################################################################################
2*4882a593Smuzhiyun#
3*4882a593Smuzhiyun# xdotool
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun################################################################################
6*4882a593Smuzhiyun
7*4882a593SmuzhiyunXDOTOOL_VERSION = 3.20160805.1
8*4882a593SmuzhiyunXDOTOOL_SITE = $(call github,jordansissel,xdotool,v$(XDOTOOL_VERSION))
9*4882a593SmuzhiyunXDOTOOL_LICENSE = BSD-3-Clause
10*4882a593SmuzhiyunXDOTOOL_LICENSE_FILES = COPYRIGHT
11*4882a593SmuzhiyunXDOTOOL_DEPENDENCIES = xlib_libXtst xlib_libXinerama libxkbcommon xlib_libX11
12*4882a593Smuzhiyun
13*4882a593Smuzhiyundefine XDOTOOL_BUILD_CMDS
14*4882a593Smuzhiyun	$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
15*4882a593Smuzhiyunendef
16*4882a593Smuzhiyun
17*4882a593Smuzhiyun# Avoid 'install' target to skip 'post-install' which runs ldconfig on host
18*4882a593Smuzhiyundefine XDOTOOL_INSTALL_TARGET_CMDS
19*4882a593Smuzhiyun	$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
20*4882a593Smuzhiyun		pre-install installlib installprog installheader \
21*4882a593Smuzhiyun		PREFIX="$(TARGET_DIR)/usr"
22*4882a593Smuzhiyunendef
23*4882a593Smuzhiyun
24*4882a593Smuzhiyun$(eval $(generic-package))
25