]> git.ipfire.org Git - ipfire-3.x.git/blob - perl-Module-Install/perl-Module-Install.nm
Change how we make packages "noarch"
[ipfire-3.x.git] / perl-Module-Install / perl-Module-Install.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-Install
7 version = 1.19
8 release = 1
9
10 groups = Development/Libratries
11 url = http://search.cpan.org/dist/Module-Install/
12 license = GPL+ or Artistic
13 summary = Standalone, extensible Perl module installer.
14
15 description
16 Module::Install is a package for writing installers for CPAN (or CPAN-like)
17 distributions that are clean, simple, minimalist, act in a strictly correct
18 manner with ExtUtils::MakeMaker, and will run on any Perl installation
19 version 5.005 or newer.
20 end
21
22 source_dl = https://cpan.metacpan.org/authors/id/E/ET/ETHER/
23
24 thisapp = Module-Install-%{version}
25
26 build
27 arches = noarch
28
29 requires
30 perl(autodie)
31 perl(CPAN::Meta::YAML)
32 perl(Devel::PPPort)
33 perl(File::Remove)
34 perl(FindBin)
35 perl(ExtUtils::MakeMaker)
36 perl(Module::CoreList)
37 perl(Parse::CPAN::Meta)
38 perl(Test::More)
39 perl(YAML::Tiny)
40 end
41
42 build
43 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
44 make %{PARALLELISMFLAGS}
45 end
46
47 test
48 make test
49 end
50 end
51
52 packages
53 package %{name}
54 requires
55 perl(:MODULE_COMPAT_%{perl_version})
56 end
57 end
58 end