]> git.ipfire.org Git - ipfire-3.x.git/blob - perl-Module-Package/perl-Module-Package.nm
perl-Module-Package: New package
[ipfire-3.x.git] / perl-Module-Package / perl-Module-Package.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = perl-Module-Package
7 version = 0.30
8 release = 1
9 arch = noarch
10
11 groups = Development/Libratries
12 url = http://search.cpan.org/dist/Module-Package/
13 license = GPL+ or Artistic
14 summary = Postmodern Perl Module Packaging
15
16 description
17 This module is a dropin replacement for Module::Install.
18 It does everything Module::Install does, but just a bit better.
19 end
20
21 source_dl = https://cpan.metacpan.org/authors/id/I/IN/INGY/
22
23 thisapp = Module-Package-%{version}
24
25 build
26 requires
27 perl(FindBin)
28 perl(File::Find)
29 perl(IO::All)
30 perl(ExtUtils::MakeMaker)
31 perl(Module::Install)
32 perl(Module::Install::AuthorRequires)
33 perl(Module::Install::ManifestSkip)
34 perl(Moo)
35 perl(Test::More)
36 end
37
38 build
39 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
40 make %{PARALLELISMFLAGS}
41 end
42
43 test
44 make test
45 end
46 end
47
48 packages
49 package %{name}
50 requires
51 perl(:MODULE_COMPAT_%{perl_version})
52 end
53 end
54 end