2018-07-12 23:00:53 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# perl-net-ssh2
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2020-04-24 16:18:38 +02:00
|
|
|
PERL_NET_SSH2_VERSION = 0.71
|
2018-07-12 23:00:53 +02:00
|
|
|
PERL_NET_SSH2_SOURCE = Net-SSH2-$(PERL_NET_SSH2_VERSION).tar.gz
|
2020-04-24 16:18:38 +02:00
|
|
|
PERL_NET_SSH2_SITE = $(BR2_CPAN_MIRROR)/authors/id/R/RK/RKITOVER
|
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)
|
|
|
|
PERL_NET_SSH2_CONF_OPTS += gcrypt
|
|
|
|
endif
|
|
|
|
|
2018-07-12 23:00:53 +02:00
|
|
|
$(eval $(perl-package))
|