From 6d8fd525f6d2afd29165331c0042148436b65adb Mon Sep 17 00:00:00 2001 From: Joeri Barbarien Date: Mon, 10 Feb 2020 12:26:28 +0100 Subject: [PATCH] package/perl-mojolicious-plugin-i18n: new package Added via utils/scancpan, adding README.pod as license file and updating license to Artistic-2.0. Note that the license declared in META.{json,yml} ('perl') would mean either Artistic or GPL-1.0, while the README.pod file only talks about Artistic-2.0. Assume the author means the latter one. Signed-off-by: Joeri Barbarien Signed-off-by: Thomas De Schampheleire Signed-off-by: Thomas Petazzoni --- DEVELOPERS | 1 + package/Config.in | 1 + package/perl-mojolicious-plugin-i18n/Config.in | 7 +++++++ .../perl-mojolicious-plugin-i18n.hash | 6 ++++++ .../perl-mojolicious-plugin-i18n.mk | 15 +++++++++++++++ 5 files changed, 30 insertions(+) create mode 100644 package/perl-mojolicious-plugin-i18n/Config.in create mode 100644 package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.hash create mode 100644 package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.mk diff --git a/DEVELOPERS b/DEVELOPERS index b83148e527..34078ff4f4 100644 --- a/DEVELOPERS +++ b/DEVELOPERS @@ -2407,6 +2407,7 @@ F: package/perl-mime-base64-urlsafe/ F: package/perl-mojolicious-plugin-authentication/ F: package/perl-mojolicious-plugin-authorization/ F: package/perl-mojolicious-plugin-cspheader/ +F: package/perl-mojolicious-plugin-i18n/ F: package/perl-net-snmp/ F: package/perl-net-ssh2/ F: package/perl-net-telnet/ diff --git a/package/Config.in b/package/Config.in index 4b36386e34..37ef5dd710 100644 --- a/package/Config.in +++ b/package/Config.in @@ -781,6 +781,7 @@ menu "Perl libraries/modules" source "package/perl-mojolicious-plugin-authentication/Config.in" source "package/perl-mojolicious-plugin-authorization/Config.in" source "package/perl-mojolicious-plugin-cspheader/Config.in" + source "package/perl-mojolicious-plugin-i18n/Config.in" source "package/perl-moo/Config.in" source "package/perl-net-dns/Config.in" source "package/perl-net-http/Config.in" diff --git a/package/perl-mojolicious-plugin-i18n/Config.in b/package/perl-mojolicious-plugin-i18n/Config.in new file mode 100644 index 0000000000..cbe11451c5 --- /dev/null +++ b/package/perl-mojolicious-plugin-i18n/Config.in @@ -0,0 +1,7 @@ +config BR2_PACKAGE_PERL_MOJOLICIOUS_PLUGIN_I18N + bool "perl-mojolicious-plugin-i18n" + select BR2_PACKAGE_PERL_MOJOLICIOUS # runtime + help + Internationalization Plugin for Mojolicious. + + https://metacpan.org/release/Mojolicious-Plugin-I18N diff --git a/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.hash b/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.hash new file mode 100644 index 0000000000..ed4bc20748 --- /dev/null +++ b/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.hash @@ -0,0 +1,6 @@ +# retrieved by scancpan from http://cpan.metacpan.org/ +md5 4002f7a7da4c90973ad6eedfb0fcfa16 Mojolicious-Plugin-I18N-1.6.tar.gz +sha256 32fb5ef8037d954b7ecebef5c1b2b24b420abd829702312f4ad42794f52b514d Mojolicious-Plugin-I18N-1.6.tar.gz + +# manually computed +sha256 82b05028033057b388b0040a3b5590a1c51168fe3b9899bffdb5ef7962c4eb47 README.pod diff --git a/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.mk b/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.mk new file mode 100644 index 0000000000..11d41ac55c --- /dev/null +++ b/package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.mk @@ -0,0 +1,15 @@ +################################################################################ +# +# perl-mojolicious-plugin-i18n +# +################################################################################ + +PERL_MOJOLICIOUS_PLUGIN_I18N_VERSION = 1.6 +PERL_MOJOLICIOUS_PLUGIN_I18N_SOURCE = Mojolicious-Plugin-I18N-$(PERL_MOJOLICIOUS_PLUGIN_I18N_VERSION).tar.gz +PERL_MOJOLICIOUS_PLUGIN_I18N_SITE = $(BR2_CPAN_MIRROR)/authors/id/S/SH/SHARIFULN +PERL_MOJOLICIOUS_PLUGIN_I18N_DEPENDENCIES = host-perl-module-build +PERL_MOJOLICIOUS_PLUGIN_I18N_LICENSE = Artistic-2.0 +PERL_MOJOLICIOUS_PLUGIN_I18N_LICENSE_FILES = README.pod +PERL_MOJOLICIOUS_PLUGIN_I18N_DISTNAME = Mojolicious-Plugin-I18N + +$(eval $(perl-package)) -- 2.30.2