Skip to contentSkip to conversation

package/perl-switch: new package

PATCH In review Waldemar Brodkorb 2 participants 2 messages Jun 15 – Aug 4

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/perl-switch: new package

From: Deividas Puplauskas <[email protected]>

See here for a description:
https://metacpan.org/pod/Switch

---
 DEVELOPERS                           |  1 +
 package/Config.in                    |  1 +
 package/perl-switch/Config.in        |  7 +++++++
 package/perl-switch/perl-switch.hash |  6 ++++++
 package/perl-switch/perl-switch.mk   | 14 ++++++++++++++
 5 files changed, 29 insertions(+)
 create mode 100644 package/perl-switch/Config.in
 create mode 100644 package/perl-switch/perl-switch.hash
 create mode 100644 package/perl-switch/perl-switch.mk
DEVELOPERS +1 -0
index 413c71192d..3d947d40f0 100644
@@ -3426,6 +3426,7 @@ F:	package/perl-cgi/
 F:	package/perl-cgi-session/
 F:	package/perl-log-message/
 F:	package/perl-log-message-simple/
+F:	package/perl-switch/
 F:	package/ruby/
 F:	package/uclibc/
 F:	package/uclibc-ng-test/
package/Config.in +1 -0
index e81f314e17..03c11f1437 100644
@@ -916,6 +916,7 @@ menu "Perl libraries/modules"
 	source "package/perl-sub-exporter-progressive/Config.in"
 	source "package/perl-sub-install/Config.in"
 	source "package/perl-sub-quote/Config.in"
+	source "package/perl-switch/Config.in"
 	source "package/perl-sys-cpu/Config.in"
 	source "package/perl-sys-meminfo/Config.in"
 	source "package/perl-sys-mmap/Config.in"
package/perl-switch/Config.in new file +7 -0
new file mode 100644
index 0000000000..1aee9ea13d
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_PERL_SWITCH
+	bool "perl-switch"
+	help
+	  A switch statement for Perl, do not use if you can use
+	  given/when.
+
+	  https://metacpan.org/release/Switch
package/perl-switch/perl-switch.hash new file +6 -0
new file mode 100644
index 0000000000..41c29b00f1
@@ -0,0 +1,6 @@
+# retrieved by scancpan from https://cpan.metacpan.org/
+md5  34e2b6dac0a43384505b4e036633cff0  Switch-2.17.tar.gz
+sha256  31354975140fe6235ac130a109496491ad33dd42f9c62189e23f49f75f936d75  Switch-2.17.tar.gz
+
+# computed by scancpan
+sha256  a2fa55566d0d94278ba43480b8f1bfa93f51e56088000a058ca34bd3a89893d7  README
package/perl-switch/perl-switch.mk new file +14 -0
new file mode 100644
index 0000000000..e09f4d3c7d
@@ -0,0 +1,14 @@
+################################################################################
+#
+# perl-switch
+#
+################################################################################
+
+PERL_SWITCH_VERSION = 2.17
+PERL_SWITCH_SOURCE = Switch-$(PERL_SWITCH_VERSION).tar.gz
+PERL_SWITCH_SITE = $(BR2_CPAN_MIRROR)/authors/id/C/CH/CHORNY
+PERL_SWITCH_LICENSE = Artistic or GPL-1.0+
+PERL_SWITCH_LICENSE_FILES = README
+PERL_SWITCH_DISTNAME = Switch
+
+$(eval $(perl-package))
Signature · 6 lines
2.47.3

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot