diff options
author | Oliver Graute <oliver.graute@gmail.com> | 2015-02-10 09:44:37 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2015-02-16 10:35:32 +0100 |
commit | a20fc48844dc5041e2a8ba06d96947d9cc885a1d (patch) | |
tree | 9f97b102150164d5aefdd0834965d11015ec5b4d /rules/mosh.make | |
parent | 3a31553d055ab711900f149f4ef390abac6d4f67 (diff) | |
download | ptxdist-a20fc48844dc5041e2a8ba06d96947d9cc885a1d.tar.gz ptxdist-a20fc48844dc5041e2a8ba06d96947d9cc885a1d.tar.xz |
mosh: added mosh package to ptxdist
Signed-off-by: Oliver Graute <oliver.graute@neuhaus.de>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/mosh.make')
-rw-r--r-- | rules/mosh.make | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/rules/mosh.make b/rules/mosh.make new file mode 100644 index 000000000..8b87c138b --- /dev/null +++ b/rules/mosh.make @@ -0,0 +1,63 @@ +# -*-makefile-*- +# +# Copyright (C) 2015 Dr. Neuhaus Telekommunikation GmbH, Hamburg Germany, Oliver Graute <oliver.graute@neuhaus.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_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 := GPLv3 + +# +# autoconf +# +MOSH_CONF_TOOL := autoconf +MOSH_CONF_OPT := \ + $(CROSS_AUTOCONF_USR) \ + --enable-hardening \ + --enable-client \ + --enable-server \ + --disable-examples \ + --disable-ufw \ + --disable-completion \ + --without-utempter + +# ---------------------------------------------------------------------------- +# 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,"<Oliver Graute@neuhaus.de>") + @$(call install_fixup, mosh,DESCRIPTION,missing) + + @$(call install_copy, mosh, 0, 0, 0755, -, /usr/bin/mosh) + @$(call install_copy, mosh, 0, 0, 0755, -, /usr/bin/mosh-server) + @$(call install_copy, mosh, 0, 0, 0755, -, /usr/bin/mosh-client) + + @$(call install_finish, mosh) + + @$(call touch) + +# vim: syntax=make |