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

diff --git a/perl-IO-All/perl-IO-All.nm b/perl-IO-All/perl-IO-All.nm
new file mode 100644 (file)
index 0000000..c903b9a
--- /dev/null
@@ -0,0 +1,50 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = perl-IO-All
+version    = 0.87
+release    = 1
+thisapp    = IO-All-%{version}
+arch       = noarch
+
+groups     = Development/Libraries
+url        = http://search.cpan.org/dist/IO-All/
+license    = GPL+ or Artistic
+summary    = An OO perl IO wrapper.
+
+description
+       IO::All combines all of the best Perl IO modules into a single nifty
+       object oriented interface to greatly simplify your everyday Perl IO idioms.
+
+       It exports a single function called io, which returns a new IO::All object.
+       And that object can do it all!
+end
+
+source_dl  = https://cpan.metacpan.org/authors/id/F/FR/FREW/
+
+build
+       requires
+               perl(FindBin)
+               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