xdotool: new package
xdotool is a command-line X11 automation tool. http://www.semicomplete.com/projects/xdotool [Thomas: - fix <pkg>_LICENSE, as noticed by Baruch - use $(TARGET_MAKE_ENV).] Signed-off-by: Erico Nunes <nunes.erico@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
ec581782f0
commit
feca4c8c5a
@ -304,6 +304,7 @@ comment "X applications"
|
||||
source "package/torsmo/Config.in"
|
||||
source "package/wmctrl/Config.in"
|
||||
source "package/x11vnc/Config.in"
|
||||
source "package/xdotool/Config.in"
|
||||
source "package/xscreensaver/Config.in"
|
||||
source "package/xterm/Config.in"
|
||||
source "package/xvkbd/Config.in"
|
||||
|
11
package/xdotool/Config.in
Normal file
11
package/xdotool/Config.in
Normal file
@ -0,0 +1,11 @@
|
||||
config BR2_PACKAGE_XDOTOOL
|
||||
bool "xdotool"
|
||||
depends on BR2_PACKAGE_XORG7
|
||||
select BR2_PACKAGE_XLIB_LIBXTST
|
||||
select BR2_PACKAGE_XLIB_LIBXINERAMA
|
||||
select BR2_PACKAGE_LIBXKBCOMMON
|
||||
select BR2_PACKAGE_XLIB_LIBX11
|
||||
help
|
||||
Command-line X11 automation tool
|
||||
|
||||
http://www.semicomplete.com/projects/xdotool
|
2
package/xdotool/xdotool.hash
Normal file
2
package/xdotool/xdotool.hash
Normal file
@ -0,0 +1,2 @@
|
||||
# locally computed hash
|
||||
sha256 b097ef0e3897d1a24e3f45f0faed58329742d3d9434b9b46eb97eb1040f999bf xdotool-v3.20150503.1.tar.gz
|
24
package/xdotool/xdotool.mk
Normal file
24
package/xdotool/xdotool.mk
Normal file
@ -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))
|
Loading…
Reference in New Issue
Block a user