From: Bernhard Walle <bernhard@bwalle.de>
To: ptxdist@pengutronix.de
Cc: Bernhard Walle <bernhard@bwalle.de>
Subject: [ptxdist] [PATCH] picocom: New package
Date: Tue, 24 Feb 2015 11:51:53 +0100 [thread overview]
Message-ID: <1424775113-6185-1-git-send-email-bernhard@bwalle.de> (raw)
Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
---
rules/picocom.in | 7 ++++++
rules/picocom.make | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 71 insertions(+)
create mode 100644 rules/picocom.in
create mode 100644 rules/picocom.make
diff --git a/rules/picocom.in b/rules/picocom.in
new file mode 100644
index 0000000..6023a3a
--- /dev/null
+++ b/rules/picocom.in
@@ -0,0 +1,7 @@
+## SECTION=shell_and_console
+
+config PICOCOM
+ tristate
+ prompt "picocom"
+ help
+ picocom is a minimal dumb-terminal emulation program
diff --git a/rules/picocom.make b/rules/picocom.make
new file mode 100644
index 0000000..1f88eff
--- /dev/null
+++ b/rules/picocom.make
@@ -0,0 +1,64 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2015 by Bernhard Walle <bernhard@bwalle.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_PICOCOM) += picocom
+
+#
+# Paths and names
+#
+PICOCOM_VERSION := 1.7
+PICOCOM_MD5 := 8eaba1d31407e8408674d6e57af447ef
+PICOCOM := picocom-$(PICOCOM_VERSION)
+PICOCOM_SUFFIX := tar.gz
+PICOCOM_URL := https://picocom.googlecode.com/files//$(PICOCOM).$(PICOCOM_SUFFIX)
+PICOCOM_SOURCE := $(SRCDIR)/$(PICOCOM).$(PICOCOM_SUFFIX)
+PICOCOM_DIR := $(BUILDDIR)/$(PICOCOM)
+PICOCOM_LICENSE := GPLv2+
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PICOCOM_CONF_TOOL := NO
+PICOCOM_MAKE_ENV := $(CROSS_ENV)
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/picocom.install:
+ @$(call targetinfo)
+ install -d $(PICOCOM_PKGDIR)/usr/bin/
+ install -m0755 $(PICOCOM_DIR)/picocom $(PICOCOM_PKGDIR)/usr/bin
+ @$(call touch)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/picocom.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, picocom)
+ @$(call install_fixup, picocom,PRIORITY,optional)
+ @$(call install_fixup, picocom,SECTION,base)
+ @$(call install_fixup, picocom,AUTHOR,"Bernhard Walle <bernhard@bwalle.de>")
+ @$(call install_fixup, picocom,DESCRIPTION,missing)
+
+ @$(call install_copy, picocom, 0, 0, 0755, -, /usr/bin/picocom)
+
+ @$(call install_finish, picocom)
+
+ @$(call touch)
+
+# vim: syntax=make
--
2.3.0
--
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2015-02-24 10:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-02-24 10:51 Bernhard Walle [this message]
2015-03-26 8:47 ` Michael Olbrich
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=1424775113-6185-1-git-send-email-bernhard@bwalle.de \
--to=bernhard@bwalle.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