From: Stefan Schantl Date: Sun, 5 Mar 2023 15:45:11 +0000 (+0100) Subject: perl-Moo: New package X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9b5d12f6a44367fb343ea0dba4046ffd81743acb;p=ipfire-3.x.git perl-Moo: New package Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- diff --git a/perl-Moo/perl-Moo.nm b/perl-Moo/perl-Moo.nm new file mode 100644 index 000000000..622eacdc2 --- /dev/null +++ b/perl-Moo/perl-Moo.nm @@ -0,0 +1,52 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +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