#
# Copyright (C) 2011-2013 Entware
# Copyright (C) 2018 Jakub Tymejczyk <jakub.tymejczyk.pl>
-# This is free software, licensed under the GNU General Public License v2.
-# See /LICENSE for more information.
#
+# SPDX-License-Identifier: GPL-2.0-only
include $(TOPDIR)/rules.mk
PKG_NAME:=mosh
PKG_VERSION:=1.4.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://mosh.org/
CATEGORY:=Network
SUBMENU:=SSH
TITLE:=Mosh mobile shell
- DEPENDS:=+libncursesw +libopenssl +protobuf
+ DEPENDS:= \
+ +libatomic \
+ +libncursesw \
+ +libopenssl \
+ +protobuf
URL:=https://mosh.org/
endef
+perlbase-xsloader
endef
-
define Package/mosh/Default/description
Mosh is a remote terminal application that allows roaming, supports
intermittent connectivity, and provides intelligent local echo and line
CONFIGURE_VARS += \
ac_cv_have_decl_ffs=yes
-TARGET_CXXFLAGS += -std=c++11
-TARGET_LDFLAGS += -lncurses
+TARGET_CXXFLAGS += -std=c++17
+TARGET_LDFLAGS += -latomic -lncurses
define Package/mosh-client/install
$(INSTALL_DIR) $(1)/usr/bin