mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <l.stach@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] mxt-app: new package
Date: Mon, 11 Feb 2019 17:30:14 +0100	[thread overview]
Message-ID: <20190211163014.32053-1-l.stach@pengutronix.de> (raw)

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

                 reply	other threads:[~2019-02-11 16:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190211163014.32053-1-l.stach@pengutronix.de \
    --to=l.stach@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox