perl-moo: new package
authorFrancois Perrad <fperrad@gmail.com>
Wed, 10 Oct 2018 08:18:29 +0000 (10:18 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Wed, 10 Oct 2018 12:22:27 +0000 (14:22 +0200)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/Config.in
package/perl-moo/Config.in [new file with mode: 0644]
package/perl-moo/perl-moo.hash [new file with mode: 0644]
package/perl-moo/perl-moo.mk [new file with mode: 0644]

index edea04b0ddda613911836455548c3d25f059b2f9..fd556f3ad77ba432cb6f89a4a7f58851739769b2 100644 (file)
@@ -733,6 +733,7 @@ menu "Perl libraries/modules"
        source "package/perl-module-runtime/Config.in"
        source "package/perl-mojolicious-plugin-authentication/Config.in"
        source "package/perl-mojolicious/Config.in"
+       source "package/perl-moo/Config.in"
        source "package/perl-net-dns/Config.in"
        source "package/perl-net-http/Config.in"
        source "package/perl-net-ping/Config.in"
diff --git a/package/perl-moo/Config.in b/package/perl-moo/Config.in
new file mode 100644 (file)
index 0000000..4d88e1a
--- /dev/null
@@ -0,0 +1,11 @@
+config BR2_PACKAGE_PERL_MOO
+       bool "perl-moo"
+       select BR2_PACKAGE_PERL_CLASS_METHOD_MODIFIERS # runtime
+       select BR2_PACKAGE_PERL_DEVEL_GLOBALDESTRUCTION # runtime
+       select BR2_PACKAGE_PERL_MODULE_RUNTIME # runtime
+       select BR2_PACKAGE_PERL_ROLE_TINY # runtime
+       select BR2_PACKAGE_PERL_SUB_QUOTE # runtime
+       help
+         Minimalist Object Orientation (with Moose compatibility)
+
+         https://metacpan.org/release/Moo
diff --git a/package/perl-moo/perl-moo.hash b/package/perl-moo/perl-moo.hash
new file mode 100644 (file)
index 0000000..509a9ea
--- /dev/null
@@ -0,0 +1,6 @@
+# retrieved by scancpan from http://cpan.metacpan.org/
+md5    d4fcd0f240033198571fcc81ce7c5f15 Moo-2.003004.tar.gz
+sha256 f8bbb625f8e963eabe05cff9048fdd72bdd26777404ff2c40bc690f558be91e1 Moo-2.003004.tar.gz
+
+# computed by scancpan
+sha256 3fe29ec1d93827ee69825ed4bf916cc5ce4e7bf0b940ec6dd2d4ed30f4755dc3 README
diff --git a/package/perl-moo/perl-moo.mk b/package/perl-moo/perl-moo.mk
new file mode 100644 (file)
index 0000000..babb384
--- /dev/null
@@ -0,0 +1,13 @@
+################################################################################
+#
+# perl-moo
+#
+################################################################################
+
+PERL_MOO_VERSION = 2.003004
+PERL_MOO_SOURCE = Moo-$(PERL_MOO_VERSION).tar.gz
+PERL_MOO_SITE = $(BR2_CPAN_MIRROR)/authors/id/H/HA/HAARG
+PERL_MOO_LICENSE = Artistic or GPL-1.0+
+PERL_MOO_LICENSE_FILES = README
+
+$(eval $(perl-package))