kumquat-buildroot/package/mosh/mosh.mk
Gustavo Zacarias 1091f0978c mosh: bump to version 1.2.6
Now supports nettle as crypto backend too.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-08-23 17:59:06 +02:00

31 lines
906 B
Makefile

################################################################################
#
# mosh
#
################################################################################
MOSH_VERSION = 1.2.6
MOSH_SITE = https://mosh.mit.edu
MOSH_DEPENDENCIES = zlib ncurses protobuf host-pkgconf
MOSH_LICENSE = GPLv3+ with exception
MOSH_LICENSE_FILES = COPYING COPYING.iOS
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
# 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))