summaryrefslogtreecommitdiffstats
path: root/rules/xorg-app-xinput.make
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2010-07-30 15:20:52 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2010-07-30 15:20:52 +0200
commit8082a3ab6cb7c2bc85a38eff501c6ae4d608c827 (patch)
tree32fcc59e8774ab041f134ea986c01815dd45ae51 /rules/xorg-app-xinput.make
parentee8cab43be99741aed43adc520c03c0cb26b8bc0 (diff)
downloadptxdist-8082a3ab6cb7c2bc85a38eff501c6ae4d608c827.tar.gz
ptxdist-8082a3ab6cb7c2bc85a38eff501c6ae4d608c827.tar.xz
[xorg-app-xinput] new package
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/xorg-app-xinput.make')
-rw-r--r--rules/xorg-app-xinput.make71
1 files changed, 71 insertions, 0 deletions
diff --git a/rules/xorg-app-xinput.make b/rules/xorg-app-xinput.make
new file mode 100644
index 000000000..85f74c7e7
--- /dev/null
+++ b/rules/xorg-app-xinput.make
@@ -0,0 +1,71 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2010 by Michael Olbrich <m.olbrich@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_XORG_APP_XINPUT) += xorg-app-xinput
+
+#
+# Paths and names
+#
+XORG_APP_XINPUT_VERSION := 1.5.2
+XORG_APP_XINPUT := xinput-$(XORG_APP_XINPUT_VERSION)
+XORG_APP_XINPUT_SUFFIX := tar.bz2
+XORG_APP_XINPUT_URL := $(PTXCONF_SETUP_XORGMIRROR)/individual/app/$(XORG_APP_XINPUT).$(XORG_APP_XINPUT_SUFFIX)
+XORG_APP_XINPUT_SOURCE := $(SRCDIR)/$(XORG_APP_XINPUT).$(XORG_APP_XINPUT_SUFFIX)
+XORG_APP_XINPUT_DIR := $(BUILDDIR)/$(XORG_APP_XINPUT)
+XORG_APP_XINPUT_LICENSE := unknown
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+$(XORG_APP_XINPUT_SOURCE):
+ @$(call targetinfo)
+ @$(call get, XORG_APP_XINPUT)
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+XORG_APP_XINPUT_CONF_TOOL := autoconf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/xorg-app-xinput.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, xorg-app-xinput)
+ @$(call install_fixup, xorg-app-xinput,PRIORITY,optional)
+ @$(call install_fixup, xorg-app-xinput,SECTION,base)
+ @$(call install_fixup, xorg-app-xinput,AUTHOR,"Michael Olbrich <m.olbrich@pengutronix.de>")
+ @$(call install_fixup, xorg-app-xinput,DESCRIPTION,missing)
+
+ @$(call install_copy, xorg-app-xinput, 0, 0, 0755, -, /usr/bin/xinput)
+
+ @$(call install_finish, xorg-app-xinput)
+
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+#$(STATEDIR)/xorg-app-xinput.clean:
+# @$(call targetinfo)
+# @$(call clean_pkg, XORG_APP_XINPUT)
+
+# vim: syntax=make