summaryrefslogtreecommitdiffstats
path: root/package/perl-net-ssh2
diff options
context:
space:
mode:
Diffstat (limited to 'package/perl-net-ssh2')
-rw-r--r--package/perl-net-ssh2/Config.in11
-rw-r--r--package/perl-net-ssh2/perl-net-ssh2.hash6
-rw-r--r--package/perl-net-ssh2/perl-net-ssh2.mk14
3 files changed, 31 insertions, 0 deletions
diff --git a/package/perl-net-ssh2/Config.in b/package/perl-net-ssh2/Config.in
new file mode 100644
index 0000000000..07c42ee5b1
--- /dev/null
+++ b/package/perl-net-ssh2/Config.in
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_PERL_NET_SSH2
+ bool "perl-net-ssh2"
+ depends on !BR2_STATIC_LIBS
+ select BR2_PACKAGE_LIBSSH2
+ help
+ Support for the SSH 2 protocol via libssh2.
+
+ https://metacpan.org/release/Net-SSH2
+
+comment "perl-net-ssh2 needs a toolchain w/ dynamic library"
+ depends on BR2_STATIC_LIBS
diff --git a/package/perl-net-ssh2/perl-net-ssh2.hash b/package/perl-net-ssh2/perl-net-ssh2.hash
new file mode 100644
index 0000000000..7a84949a6e
--- /dev/null
+++ b/package/perl-net-ssh2/perl-net-ssh2.hash
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5 94ed21d4557a6bbc3cb6bfd7c3479ef0 Net-SSH2-0.69.tar.gz
+sha256 2fc85e1434b8a6e77142d85e3cea5a081ca71da5d02c4212b9970d3a3924baa6 Net-SSH2-0.69.tar.gz
+
+# computed by scancpan
+sha256 6db904d7c8127a33df4666961088c97586c24644a4980dc50d0676ef4c0509f7 README
diff --git a/package/perl-net-ssh2/perl-net-ssh2.mk b/package/perl-net-ssh2/perl-net-ssh2.mk
new file mode 100644
index 0000000000..6d84deb284
--- /dev/null
+++ b/package/perl-net-ssh2/perl-net-ssh2.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# 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
+PERL_NET_SSH2_DEPENDENCIES = libssh2
+
+$(eval $(perl-package))
OpenPOWER on IntegriCloud