2015-07-26 18:34:07 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# mosh
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-10-06 13:43:53 +02:00
|
|
|
MOSH_VERSION = 1.3.2
|
2017-05-31 21:08:56 +02:00
|
|
|
MOSH_SITE = https://mosh.org
|
2016-08-23 16:26:09 +02:00
|
|
|
MOSH_DEPENDENCIES = zlib ncurses protobuf host-pkgconf
|
2017-03-30 15:43:33 +02:00
|
|
|
MOSH_LICENSE = GPL-3.0+ with exception
|
2015-07-26 18:34:07 +02:00
|
|
|
MOSH_LICENSE_FILES = COPYING COPYING.iOS
|
|
|
|
|
2018-06-23 21:59:45 +02:00
|
|
|
# protobuf needs c++11 (since 3.6.0)
|
|
|
|
MOSH_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11"
|
|
|
|
|
2016-08-23 16:26:09 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
|
MOSH_CONF_OPTS += --with-crypto-library=openssl
|
|
|
|
MOSH_DEPENDENCIES += openssl
|
|
|
|
else
|
|
|
|
MOSH_CONF_OPTS += --with-crypto-library=nettle
|
|
|
|
MOSH_DEPENDENCIES += nettle
|
|
|
|
endif
|
|
|
|
|
2015-07-26 18:34:07 +02:00
|
|
|
# help the detection of the SSP support: mosh configure.ac doesn't do
|
|
|
|
# a link test, so it doesn't detect when the toolchain doesn't have
|
|
|
|
# libssp.
|
|
|
|
ifeq ($(BR2_TOOLCHAIN_HAS_SSP),)
|
|
|
|
MOSH_CONF_ENV += \
|
|
|
|
ax_cv_check_cflags__Werror___fstack_protector_all=no \
|
|
|
|
ax_cv_check_cxxflags__Werror___fstack_protector_all=no
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(autotools-package))
|