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

diff --git a/perl-Module-Install-AuthorRequires/perl-Module-Install-AuthorRequires.nm b/perl-Module-Install-AuthorRequires/perl-Module-Install-AuthorRequires.nm
new file mode 100644 (file)
index 0000000..8a7d348
--- /dev/null
@@ -0,0 +1,48 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info@ipfire.org>                   #
+###############################################################################
+
+name       = perl-Module-Install-AuthorRequires
+version    = 0.02
+release    = 1
+arch       = noarch
+
+groups     = Development/Libratries
+url        = http://search.cpan.org/dist/Module-Install-AuthorRequires/
+license    = GPL+ or Artistic
+summary    = Declare author-only dependencies.
+
+description
+       An extenision for the Module::Install to declare author-only dependencies.
+end
+
+source_dl  = https://cpan.metacpan.org/authors/id/F/FL/FLORA/
+
+thisapp    = Module-Install-AuthorRequires-%{version}
+
+build
+       requires
+               perl(FindBin)
+               perl(ExtUtils::MakeMaker)
+               perl(Module::Install)
+               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