summaryrefslogtreecommitdiffstats
path: root/package/xdotool/xdotool.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/xdotool/xdotool.mk')
-rw-r--r--package/xdotool/xdotool.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/package/xdotool/xdotool.mk b/package/xdotool/xdotool.mk
new file mode 100644
index 0000000000..a799ea470f
--- /dev/null
+++ b/package/xdotool/xdotool.mk
@@ -0,0 +1,24 @@
+################################################################################
+#
+# xdotool
+#
+################################################################################
+
+XDOTOOL_VERSION = v3.20150503.1
+XDOTOOL_SITE = $(call github,jordansissel,xdotool,$(XDOTOOL_VERSION))
+XDOTOOL_LICENSE = BSD-3c
+XDOTOOL_LICENSE_FILES = COPYRIGHT
+XDOTOOL_DEPENDENCIES = xlib_libXtst xlib_libXinerama libxkbcommon xlib_libX11
+
+define XDOTOOL_BUILD_CMDS
+ $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D)
+endef
+
+# Avoid 'install' target to skip 'post-install' which runs ldconfig on host
+define XDOTOOL_INSTALL_TARGET_CMDS
+ $(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
+ pre-install installlib installprog installheader \
+ PREFIX="$(TARGET_DIR)/usr"
+endef
+
+$(eval $(generic-package))
OpenPOWER on IntegriCloud