2018-07-12 23:00:53 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# 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
|
2018-07-23 22:06:26 +02:00
|
|
|
PERL_NET_SSH2_DEPENDENCIES = libssh2 zlib
|
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))
|