summaryrefslogtreecommitdiff
path: root/package/xdotool
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2015-02-20 13:18:09 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2015-02-20 13:18:44 -0600
commit4ffd5b8b9a970b59e0cd524ca4d87a1e2c3e564a (patch)
tree102f374fc97ec2645767e778ec0db45ee78a49c3 /package/xdotool
parent293ec358b18d749521bbde1f02cd7c67b9377a35 (diff)
add new package xdotool
Diffstat (limited to 'package/xdotool')
-rw-r--r--package/xdotool/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/package/xdotool/Makefile b/package/xdotool/Makefile
new file mode 100644
index 000000000..f02b91ff5
--- /dev/null
+++ b/package/xdotool/Makefile
@@ -0,0 +1,34 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= xdotool
+PKG_VERSION:= 2.20110530.1
+PKG_RELEASE:= 1
+PKG_HASH:= e7b42c8b1d391970e1c1009b256033f30e57d8e0a2a3de229fd61ecfc27baf67
+PKG_DESCR:= tool lets you simulate keyboard input and mouse activity, move and resize windows
+PKG_SECTION:= x11/misc
+PKG_DEPENDS:= libxtst libxinerama libxi
+PKG_BUILDDEP:= libXtst libXinerama libXi
+PKG_URL:= http://www.semicomplete.com/projects/xdotool/
+PKG_SITES:= http://semicomplete.googlecode.com/files/
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,XDOTOOL,xdotool,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+CONFIG_STYLE:= manual
+XAKE_FLAGS+= PREFIX=/usr
+
+xdotool-install:
+ $(INSTALL_DIR) $(IDIR_XDOTOOL)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libxdo.so* \
+ $(IDIR_XDOTOOL)/usr/lib
+ $(INSTALL_DIR) $(IDIR_XDOTOOL)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/xdotool \
+ $(IDIR_XDOTOOL)/usr/bin
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk