generated from gaoyang3513/SDK_RK3288
[Mod] First commit
This commit is contained in:
18
package/perl-net-ssh2/Config.in
Normal file
18
package/perl-net-ssh2/Config.in
Normal file
@ -0,0 +1,18 @@
|
||||
config BR2_PACKAGE_PERL_NET_SSH2
|
||||
bool "perl-net-ssh2"
|
||||
depends on !BR2_STATIC_LIBS
|
||||
depends on BR2_PACKAGE_LIBSSH2_OPENSSL || BR2_PACKAGE_LIBSSH2_LIBGCRYPT
|
||||
select BR2_PACKAGE_ZLIB
|
||||
help
|
||||
Support for the SSH 2 protocol via libssh2.
|
||||
|
||||
Note: only the OpenSSL and Libgcrypt backends of libssh2 are
|
||||
supported.
|
||||
|
||||
https://metacpan.org/release/Net-SSH2
|
||||
|
||||
comment "perl-net-ssh2 needs a toolchain w/ dynamic library"
|
||||
depends on BR2_STATIC_LIBS
|
||||
|
||||
comment "perl-net-ssh2 needs libssh2 with OpenSSL or Libgcrypt backend"
|
||||
depends on !(BR2_PACKAGE_LIBSSH2_OPENSSL || BR2_PACKAGE_LIBSSH2_LIBGCRYPT)
|
||||
6
package/perl-net-ssh2/perl-net-ssh2.hash
Normal file
6
package/perl-net-ssh2/perl-net-ssh2.hash
Normal file
@ -0,0 +1,6 @@
|
||||
# retrieved by scancpan from http://cpan.metacpan.org/
|
||||
md5 57aa0f6e2be4020f75888a7195ad5cba Net-SSH2-0.72.tar.gz
|
||||
sha256 867d83070fac6436b9f0971918243002072fbf8d2724a87c254b34250dce0222 Net-SSH2-0.72.tar.gz
|
||||
|
||||
# computed by scancpan
|
||||
sha256 268afaee7aa88a41959c93cd91853e8124bdbe64a74480d36ff1130e01a1c0ca README.pod
|
||||
24
package/perl-net-ssh2/perl-net-ssh2.mk
Normal file
24
package/perl-net-ssh2/perl-net-ssh2.mk
Normal file
@ -0,0 +1,24 @@
|
||||
################################################################################
|
||||
#
|
||||
# perl-net-ssh2
|
||||
#
|
||||
################################################################################
|
||||
|
||||
PERL_NET_SSH2_VERSION = 0.72
|
||||
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.pod
|
||||
PERL_NET_SSH2_DEPENDENCIES = libssh2 zlib
|
||||
PERL_NET_SSH2_DISTNAME = Net-SSH2
|
||||
|
||||
# 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 += crypto_backend=gcrypt
|
||||
endif
|
||||
|
||||
$(eval $(perl-package))
|
||||
Reference in New Issue
Block a user