mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] picocom: New package
@ 2015-02-24 10:51 Bernhard Walle
  2015-03-26  8:47 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Bernhard Walle @ 2015-02-24 10:51 UTC (permalink / raw)
  To: ptxdist; +Cc: Bernhard Walle

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-03-26  8:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-24 10:51 [ptxdist] [PATCH] picocom: New package Bernhard Walle
2015-03-26  8:47 ` Michael Olbrich

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