2 # Copyright (C) 2011-2013 Entware
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
14 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
15 PKG_SOURCE_URL
:=http
://mosh.mit.edu
/
16 PKG_MD5SUM
:=c2d918f4d91fdc32546e2e089f9281b2
21 include $(INCLUDE_DIR
)/package.mk
23 define Package
/mosh
/Default
26 TITLE
:=Mosh mobile
shell
27 DEPENDS
:=+libncursesw
+libopenssl
+protobuf
28 URL
:=http
://mosh.mit.edu
/
31 define Package
/mosh-client
32 $(call Package
/mosh
/Default
)
36 define Package
/mosh-server
37 $(call Package
/mosh
/Default
)
41 define Package
/mosh-full
42 $(call Package
/mosh
/Default
)
55 +perlbase-selectsaver \
57 +perlbase-autoloader \
63 define Package
/mosh
/Default
/description
64 Mosh is a remote terminal application that allows roaming
, supports
65 intermittent connectivity
, and provides intelligent local echo and line
66 editing of user keystrokes.
69 define Package
/mosh-client
/description
70 $(call Package
/mosh
/Default
/description
)
71 This is a mosh client.
74 define Package
/mosh-server
/description
75 $(call Package
/mosh
/Default
/description
)
76 This is a mosh server.
79 define Package
/mosh-full
/description
80 $(call Package
/mosh
/Default
/description
)
81 This is a full package with perl wrapper script
86 --with-curses
=$(STAGING_DIR
)/usr \
90 define Package
/mosh-client
/install
91 $(INSTALL_DIR
) $(1)/usr
/bin
92 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/mosh-client
$(1)/usr
/bin
/
95 define Package
/mosh-server
/install
96 $(INSTALL_DIR
) $(1)/usr
/bin
97 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/mosh-server
$(1)/usr
/bin
/
100 define Package
/mosh-full
/install
101 $(INSTALL_DIR
) $(1)/usr
/bin
102 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/mosh
$(1)/usr
/bin
/
105 $(eval
$(call BuildPackage
,mosh-client
))
106 $(eval
$(call BuildPackage
,mosh-server
))
107 $(eval
$(call BuildPackage
,mosh-full
))