added a rule for mosh Signed-off-by: Oliver Graute <[email protected]> --- rules/mosh.in | 7 ++++ rules/mosh.make | 102 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 109 insertions(+) create mode 100644 rules/mosh.in create mode 100644 rules/mosh.make
diff --git a/rules/mosh.in b/rules/mosh.in new file mode 100644 index 0000000..1866a4d --- /dev/null +++ b/rules/mosh.in @@ -0,0 +1,7 @@ +## SECTION=networking + +config MOSH + tristate + prompt "mosh" + help + Remote terminal application that allows roaming, supports intermittent connectivity, and provides intelligent local echo and line editing of user keystrokes. Mosh is a replacement for SSH. It's more robust and responsive, especially over Wi-Fi, cellular, and long-distance links. diff --git a/rules/mosh.make b/rules/mosh.make new file mode 100644 index 0000000..afbc90f --- /dev/null +++ b/rules/mosh.make @@ -0,0 +1,102 @@ +# -*-makefile-*- +# +# Copyright (C) 2015 Dr. Neuhaus Telekommunikation GmbH, Hamburg Germany, Oliver Graute <[email protected]> +# +# 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_MOSH) += mosh + +# +# Paths and names +# +MOSH_VERSION := 1.2.4 +MOSH_MD5 := c2d918f4d91fdc32546e2e089f9281b2 +MOSH := mosh-$(MOSH_VERSION) +MOSH_SUFFIX := tar.gz +MOSH_URL := https://mosh.mit.edu//$(MOSH).$(MOSH_SUFFIX) +MOSH_SOURCE := $(SRCDIR)/$(MOSH).$(MOSH_SUFFIX) +MOSH_DIR := $(BUILDDIR)/$(MOSH) +MOSH_LICENSE := unknown + +# ---------------------------------------------------------------------------- +# Get +# ---------------------------------------------------------------------------- + +#$(MOSH_SOURCE): +# @$(call targetinfo) +# @$(call get, MOSH) + +# ---------------------------------------------------------------------------- +# Prepare +# ---------------------------------------------------------------------------- + +#MOSH_CONF_ENV := $(CROSS_ENV) + +# +# autoconf +# +MOSH_CONF_TOOL := autoconf +#MOSH_CONF_OPT := $(CROSS_AUTOCONF_USR) + +#$(STATEDIR)/mosh.prepare: +# @$(call targetinfo) +# @$(call clean, $(MOSH_DIR)/config.cache) +# cd $(MOSH_DIR) && \ +# $(MOSH_PATH) $(MOSH_ENV) \ +# ./configure $(MOSH_CONF_OPT) +# @$(call touch) + +# ---------------------------------------------------------------------------- +# Compile +# ---------------------------------------------------------------------------- + +#$(STATEDIR)/mosh.compile: +# @$(call targetinfo) +# @$(call world/compile, MOSH) +# @$(call touch) + +# ---------------------------------------------------------------------------- +# Install +# ---------------------------------------------------------------------------- + +#$(STATEDIR)/mosh.install: +# @$(call targetinfo) +# @$(call world/install, MOSH) +# @$(call touch) + +# ---------------------------------------------------------------------------- +# Target-Install +# ---------------------------------------------------------------------------- + +$(STATEDIR)/mosh.targetinstall: + @$(call targetinfo) + + @$(call install_init, mosh) + @$(call install_fixup, mosh,PRIORITY,optional) + @$(call install_fixup, mosh,SECTION,base) + @$(call install_fixup, mosh,AUTHOR,"<[email protected]>") + @$(call install_fixup, mosh,DESCRIPTION,missing) + + @$(call install_copy, mosh, 0, 0, 0755, $(MOSH_DIR)/src/frontend/mosh-server, /usr/bin/mosh-server) + @$(call install_copy, mosh, 0, 0, 0755, $(MOSH_DIR)/src/frontend/mosh-client, /usr/bin/mosh-client) + + @$(call install_finish, mosh) + + @$(call touch) + +# ---------------------------------------------------------------------------- +# Clean +# ---------------------------------------------------------------------------- + +#$(STATEDIR)/mosh.clean: +# @$(call targetinfo) +# @$(call clean_pkg, MOSH) + +# vim: syntax=make -- 1.7.9.5 -- ptxdist mailing list [email protected]
