]>
Commit | Line | Data |
---|---|---|
53fdc7db SS |
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 | |
e0d866c0 | 8 | release = 2 |
53fdc7db SS |
9 | |
10 | groups = Development/Libratries | |
11 | url = http://search.cpan.org/dist/Module-Package/ | |
12 | license = GPL+ or Artistic | |
13 | summary = Postmodern Perl Module Packaging | |
14 | ||
15 | description | |
16 | This module is a dropin replacement for Module::Install. | |
17 | It does everything Module::Install does, but just a bit better. | |
18 | end | |
19 | ||
20 | source_dl = https://cpan.metacpan.org/authors/id/I/IN/INGY/ | |
21 | ||
22 | thisapp = Module-Package-%{version} | |
23 | ||
24 | build | |
5cd803df MT |
25 | arches = noarch |
26 | ||
53fdc7db SS |
27 | requires |
28 | perl(FindBin) | |
29 | perl(File::Find) | |
30 | perl(IO::All) | |
31 | perl(ExtUtils::MakeMaker) | |
32 | perl(Module::Install) | |
33 | perl(Module::Install::AuthorRequires) | |
34 | perl(Module::Install::ManifestSkip) | |
35 | perl(Moo) | |
36 | perl(Test::More) | |
37 | end | |
38 | ||
39 | build | |
40 | perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}" | |
41 | make %{PARALLELISMFLAGS} | |
42 | end | |
43 | ||
44 | test | |
45 | make test | |
46 | end | |
47 | end | |
48 | ||
49 | packages | |
50 | package %{name} | |
51 | requires | |
52 | perl(:MODULE_COMPAT_%{perl_version}) | |
53 | end | |
54 | end | |
55 | end |