mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] mxt-app: new package
@ 2019-02-11 16:30 Lucas Stach
  0 siblings, 0 replies; only message in thread
From: Lucas Stach @ 2019-02-11 16:30 UTC (permalink / raw)
  To: ptxdist

This adds the mxt-app utility, which is used to manipulate
the configuration of Atmel MaXTouch devices.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 patches/mxt-app-1.28/autogen.sh |  1 +
 rules/mxt-app.in                | 11 +++++++
 rules/mxt-app.make              | 56 +++++++++++++++++++++++++++++++++
 3 files changed, 68 insertions(+)
 create mode 120000 patches/mxt-app-1.28/autogen.sh
 create mode 100644 rules/mxt-app.in
 create mode 100644 rules/mxt-app.make

diff --git a/patches/mxt-app-1.28/autogen.sh b/patches/mxt-app-1.28/autogen.sh
new file mode 120000
index 000000000000..9f8a4cb7ddcb
--- /dev/null
+++ b/patches/mxt-app-1.28/autogen.sh
@@ -0,0 +1 @@
+../autogen.sh
\ No newline at end of file
diff --git a/rules/mxt-app.in b/rules/mxt-app.in
new file mode 100644
index 000000000000..81d1cb65bf9e
--- /dev/null
+++ b/rules/mxt-app.in
@@ -0,0 +1,11 @@
+## SECTION=shell_and_console
+
+config MXT_APP
+	tristate
+	prompt "mxt-app"
+	select LIBC_PTHREAD
+	select LIBC_RT
+	select LIBUSB
+	help
+	  mxt-app is the command line utility for
+	  Atmel maXTouch devices.
diff --git a/rules/mxt-app.make b/rules/mxt-app.make
new file mode 100644
index 000000000000..5c49f9c7ee26
--- /dev/null
+++ b/rules/mxt-app.make
@@ -0,0 +1,56 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 by Lucas Stach <l.stach@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_MXT_APP) += mxt-app
+
+#
+# Paths and names
+#
+MXT_APP_VERSION	:= 1.28
+MXT_APP_MD5	:= a56f6b28f193a7c21cd83cbe02f33dcc
+MXT_APP		:= mxt-app-$(MXT_APP_VERSION)
+MXT_APP_SUFFIX	:= tar.gz
+MXT_APP_URL	:= https://github.com/atmel-maxtouch/mxt-app/archive/v$(MXT_APP_VERSION).$(MXT_APP_SUFFIX)
+MXT_APP_SOURCE	:= $(SRCDIR)/$(MXT_APP).$(MXT_APP_SUFFIX)
+MXT_APP_DIR	:= $(BUILDDIR)/$(MXT_APP)
+MXT_APP_LICENSE	:= BSD-2-Clause
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+MXT_APP_CONF_TOOL	:= autoconf
+MXT_APP_CONF_OPT	:= \
+	$(CROSS_AUTOCONF_USR) \
+	--disable-debug \
+	--disable-man
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/mxt-app.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, mxt-app)
+	@$(call install_fixup, mxt-app,PRIORITY,optional)
+	@$(call install_fixup, mxt-app,SECTION,base)
+	@$(call install_fixup, mxt-app,AUTHOR,"Lucas Stach <l.stach@pengutronix.de>")
+	@$(call install_fixup, mxt-app,DESCRIPTION,missing)
+
+	@$(call install_copy, mxt-app, 0, 0, 0755, -, /usr/bin/mxt-app)
+
+	@$(call install_finish, mxt-app)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-02-11 16:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-11 16:30 [ptxdist] [PATCH] mxt-app: new package Lucas Stach

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox