2018-07-12 23:00:53 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# perl-net-ssh2
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2021-04-24 21:20:27 +02:00
|
|
|
PERL_NET_SSH2_VERSION = 0.72
|
2018-07-12 23:00:53 +02:00
|
|
|
PERL_NET_SSH2_SOURCE = Net-SSH2-$(PERL_NET_SSH2_VERSION).tar.gz
|
2021-04-24 21:20:27 +02:00
|
|
|
PERL_NET_SSH2_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SA/SALVA
|
2018-07-12 23:00:53 +02:00
|
|
|
PERL_NET_SSH2_LICENSE = Artistic or GPL-1.0+
|
2020-04-24 16:18:38 +02:00
|
|
|
PERL_NET_SSH2_LICENSE_FILES = README.pod
|
2018-07-23 22:06:26 +02:00
|
|
|
PERL_NET_SSH2_DEPENDENCIES = libssh2 zlib
|
2018-10-11 18:12:46 +02:00
|
|
|
PERL_NET_SSH2_DISTNAME = Net-SSH2
|
|
|
|
|
2018-07-23 22:06:27 +02:00
|
|
|
# build system will use host search paths by default
|
|
|
|
PERL_NET_SSH2_CONF_OPTS += \
|
|
|
|
lib="$(STAGING_DIR)/usr/lib" \
|
|
|
|
inc="$(STAGING_DIR)/usr/include"
|
2018-07-12 23:00:53 +02:00
|
|
|
|
2018-07-23 22:06:28 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBSSH2_LIBGCRYPT),y)
|
2021-08-11 22:58:14 +02:00
|
|
|
PERL_NET_SSH2_CONF_OPTS += crypto_backend=gcrypt
|
2018-07-23 22:06:28 +02:00
|
|
|
endif
|
|
|
|
|
2018-07-12 23:00:53 +02:00
|
|
|
$(eval $(perl-package))
|