]> git.ipfire.org Git - ipfire-3.x.git/blame - perl-Module-Install/perl-Module-Install.nm
Change how we make packages "noarch"
[ipfire-3.x.git] / perl-Module-Install / perl-Module-Install.nm
CommitLineData
3e54c615
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = perl-Module-Install
7version = 1.19
8release = 1
3e54c615
SS
9
10groups = Development/Libratries
11url = http://search.cpan.org/dist/Module-Install/
12license = GPL+ or Artistic
13summary = Standalone, extensible Perl module installer.
14
15description
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.
20end
21
22source_dl = https://cpan.metacpan.org/authors/id/E/ET/ETHER/
23
24thisapp = Module-Install-%{version}
25
26build
5cd803df
MT
27 arches = noarch
28
3e54c615
SS
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
50end
51
52packages
53 package %{name}
54 requires
55 perl(:MODULE_COMPAT_%{perl_version})
56 end
57 end
58end