From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from smtprelay03.ispgateway.de ([80.67.29.7]) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1YQD5p-0007x3-4j for ptxdist@pengutronix.de; Tue, 24 Feb 2015 11:51:58 +0100 From: Bernhard Walle Date: Tue, 24 Feb 2015 11:51:53 +0100 Message-Id: <1424775113-6185-1-git-send-email-bernhard@bwalle.de> Subject: [ptxdist] [PATCH] picocom: New package Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Cc: Bernhard Walle Signed-off-by: Bernhard Walle --- 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 +# +# 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 ") + @$(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