From: Stefan Schantl Date: Sun, 5 Mar 2023 15:44:30 +0000 (+0100) Subject: perl-Sub-Quote: New package X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df00727116d584050a18a112e636fec0502473b0;p=ipfire-3.x.git perl-Sub-Quote: New package Signed-off-by: Stefan Schantl Signed-off-by: Michael Tremer --- diff --git a/perl-Sub-Quote/perl-Sub-Quote.nm b/perl-Sub-Quote/perl-Sub-Quote.nm new file mode 100644 index 000000000..81bcce47c --- /dev/null +++ b/perl-Sub-Quote/perl-Sub-Quote.nm @@ -0,0 +1,47 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = perl-Sub-Quote +version = 2.006008 +release = 1 +thisapp = Sub-Quote-%{version} +arch = noarch + +groups = Development/Libraries +url = http://search.cpan.org/dist/Sub-Quote/ +license = GPL+ or Artistic +summary = Efficient generation of subroutines via string eval + +description + This package provides performant ways to generate subroutines from + strings. +end + +source_dl = https://cpan.metacpan.org/authors/id/H/HA/HAARG/ + +build + requires + perl(B) + perl(ExtUtils::MakeMaker) + 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