]> git.ipfire.org Git - people/stevee/ipfire-3.x.git/commitdiff
perl-Moo: New package
authorStefan Schantl <stefan.schantl@ipfire.org>
Sun, 5 Mar 2023 15:45:11 +0000 (16:45 +0100)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 6 Mar 2023 09:59:14 +0000 (09:59 +0000)
Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
perl-Moo/perl-Moo.nm [new file with mode: 0644]

diff --git a/perl-Moo/perl-Moo.nm b/perl-Moo/perl-Moo.nm
new file mode 100644 (file)
index 0000000..622eacd
--- /dev/null
@@ -0,0 +1,52 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = perl-Moo
+version    = 2.005005
+release    = 1
+thisapp    = Moo-%{version}
+arch       = noarch
+
+groups     = Development/Libraries
+url        = http://search.cpan.org/dist/Moo/
+license    = GPL+ or Artistic
+summary    = Minimalist Object Orientation perl module.
+
+description
+       Moo is an extremely light-weight Object Orientation system. It allows
+       one to concisely define objects and roles with a convenient syntax that
+       avoids the details of Perl's object system.
+end
+
+source_dl  = https://cpan.metacpan.org/authors/id/H/HA/HAARG/
+
+build
+       requires
+               perl(B::Deparse)
+               perl(Class::Method::Modifiers)
+               perl(ExtUtils::MakeMaker)
+               perl(Role::Tiny)
+               perl(Sub::Defer)
+               perl(Sub::Quote)
+               perl(Test::More)
+       end
+
+       build
+               perl Makefile.PL INSTALLDIRS=vendor
+               make %{PARALLELISMFLAGS}
+       end
+
+       test
+               make test
+       end
+end
+
+packages
+       package %{name}
+               requires
+                       perl(:MODULE_COMPAT_%{perl_version})
+               end
+       end
+end