summaryrefslogtreecommitdiff
path: root/package/mosh
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-25 21:00:37 +0200
committerWaldemar Brodkorb <wbx@uclibc-ng.org>2016-10-25 21:01:32 +0200
commit0fc7f3ed051d53814504d4a89d8ad6ccd0009f7a (patch)
tree3787bcf351f18e5b7718bfa53ba428600cf66499 /package/mosh
parentcebe4668fe90fdc6a79ceff35cbbca50751704a5 (diff)
mosh: new package
Diffstat (limited to 'package/mosh')
-rw-r--r--package/mosh/Makefile29
1 files changed, 29 insertions, 0 deletions
diff --git a/package/mosh/Makefile b/package/mosh/Makefile
new file mode 100644
index 000000000..df17088dc
--- /dev/null
+++ b/package/mosh/Makefile
@@ -0,0 +1,29 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= mosh
+PKG_VERSION:= 1.2.6
+PKG_RELEASE:= 1
+PKG_HASH:= 7e82b7fbfcc698c70f5843bb960dadb8e7bd7ac1d4d2151c9d979372ea850e85
+PKG_DESCR:= mobile shell
+PKG_SECTION:= net/security
+PKG_DEPENDS:= zlib ncurses libressl
+PKG_BUILDDEP:= protobuf-host protobuf zlib ncurses libressl
+PKG_NEEDS:= c++
+PKG_URL:= https://mosh.org/
+PKG_SITES:= https://mosh.org/
+
+DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,MOSH,mosh,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION)))
+
+mosh-install:
+ $(INSTALL_DIR) $(IDIR_MOSH)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/mosh \
+ $(IDIR_MOSH)/usr/bin
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk