package/perl-mojolicious-plugin-i18n: new package
authorJoeri Barbarien <joeri.barbarien@nokia.com>
Mon, 10 Feb 2020 11:26:28 +0000 (12:26 +0100)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 15 Mar 2020 20:38:55 +0000 (21:38 +0100)
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 <joeri.barbarien@nokia.com>
Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
DEVELOPERS
package/Config.in
package/perl-mojolicious-plugin-i18n/Config.in [new file with mode: 0644]
package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.hash [new file with mode: 0644]
package/perl-mojolicious-plugin-i18n/perl-mojolicious-plugin-i18n.mk [new file with mode: 0644]

index b83148e527f5ee034c7190e685ac52eca4b4bb7a..34078ff4f44cdf306520275fc872da059bf22695 100644 (file)
@@ -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/
index 4b36386e342f274d46f8bffcefdb178d1dfded64..37ef5dd710be1baaf8350bec860906b1e8b131c6 100644 (file)
@@ -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 (file)
index 0000000..cbe1145
--- /dev/null
@@ -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 (file)
index 0000000..ed4bc20
--- /dev/null
@@ -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 (file)
index 0000000..11d41ac
--- /dev/null
@@ -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))