kumquat-buildroot/package/perl-net-ssh2/perl-net-ssh2.mk
Thomas De Schampheleire 2b361e7b45 perl-net-ssh2: add support for libgcrypt crypto backend
Fix usage of libgcrypt as crypto backend to libssh2, when building
perl-net-ssh2. In order to achieve that, we need to use 'depends on' the
libssh2 backends, which means the user will first need to enable libssh2 and
one of the supported backends, before being able to enable perl-net-ssh2.

Fixes
http://autobuild.buildroot.net/results/6ee18e7dd17f168c52f79e49cb5e94cf3aa3df1a/

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-07-25 23:04:09 +02:00

23 lines
718 B
Makefile

################################################################################
#
# perl-net-ssh2
#
################################################################################
PERL_NET_SSH2_VERSION = 0.69
PERL_NET_SSH2_SOURCE = Net-SSH2-$(PERL_NET_SSH2_VERSION).tar.gz
PERL_NET_SSH2_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SA/SALVA
PERL_NET_SSH2_LICENSE = Artistic or GPL-1.0+
PERL_NET_SSH2_LICENSE_FILES = README
PERL_NET_SSH2_DEPENDENCIES = libssh2 zlib
# build system will use host search paths by default
PERL_NET_SSH2_CONF_OPTS += \
lib="$(STAGING_DIR)/usr/lib" \
inc="$(STAGING_DIR)/usr/include"
ifeq ($(BR2_PACKAGE_LIBSSH2_LIBGCRYPT),y)
PERL_NET_SSH2_CONF_OPTS += gcrypt
endif
$(eval $(perl-package))