diff options
author | Bernhard Walle <bernhard@bwalle.de> | 2015-02-24 11:51:53 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-03-21 14:24:01 +0100 |
commit | 33d087484ac68cd9e4528d34428fa0a11cf042ed (patch) | |
tree | 32d8ea9f8b5e4f0e80be673df7229f7fd1cce265 | |
parent | ca8ac268f6cb196ea54abda09c93fa80b5e3de3d (diff) | |
download | ptxdist-33d087484ac68cd9e4528d34428fa0a11cf042ed.tar.gz ptxdist-33d087484ac68cd9e4528d34428fa0a11cf042ed.tar.xz |
picocom: New package
Signed-off-by: Bernhard Walle <bernhard@bwalle.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/picocom.in | 7 | ||||
-rw-r--r-- | rules/picocom.make | 63 |
2 files changed, 70 insertions, 0 deletions
diff --git a/rules/picocom.in b/rules/picocom.in new file mode 100644 index 000000000..6023a3a04 --- /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 000000000..c22c68b4d --- /dev/null +++ b/rules/picocom.make @@ -0,0 +1,63 @@ +# -*-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 -m0755 $(PICOCOM_DIR)/picocom $(PICOCOM_PKGDIR)/usr/bin/picocom + @$(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 |