mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
Merge from bittboy/buildroot@db180c0
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 ef8d282c410728aa452fb380a7d22b05 Net-SSH2-0.70.tar.gz
|
||||
sha256 47236af8f4a5e4cfa3036f7969d940247349b65b032478a0c72ba0b2e398b000 Net-SSH2-0.70.tar.gz
|
||||
|
||||
# computed by scancpan
|
||||
sha256 3e479d43f8316315caa30ba00b7a143175326a3be83fd4e03146c831afaa22bd README
|
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.70
|
||||
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
|
||||
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 += gcrypt
|
||||
endif
|
||||
|
||||
$(eval $(perl-package))
|
Reference in New Issue
Block a user