]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - perl-common-sense/perl-common-sense.nm
pango: Generate modules cache on install and update if not present.
[people/arne_f/ipfire-3.x.git] / perl-common-sense / perl-common-sense.nm
CommitLineData
b6a73c53
SS
1###############################################################################
2# IPFire.org - An Open Source Firewall Solution #
3# Copyright (C) - IPFire Development Team <info@ipfire.org> #
4###############################################################################
5
6name = perl-common-sense
9443512a 7version = 3.73
b6a73c53
SS
8release = 1
9arch = noarch
10thisapp = common-sense-%{version}
11
12groups = Development/Libraries
13url = http://search.cpan.org/dist/common-sense
14license = GPL+ or Artistic
15summary = "Common sense" Perl defaults.
16
17description
18 This module implements some sane defaults for Perl programs, as defined
19 by two typical (or not so typical - use your common sense) specimens of
20
21 Perl coders:
22 - use strict qw(vars subs);
23 - use feature qw(say state switch);
24 - no warnings;
25end
26
27source_dl = http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/
28
29build
30 requires
31 perl(ExtUtils::MakeMaker)
32 perl(ExtUtils::ParseXS)
33 end
34
35 build
36 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
37 make %{PARALLELISMFLAGS}
38 end
39
40 test
41 make test
42 end
43
9443512a
SS
44 make_install_targets = \
45 pure_install DESTDIR=%{BUILDROOT}
b6a73c53
SS
46end
47
48packages
49 package %{name}
50 requires
9443512a 51 perl(:MODULE_COMPAT_%{perl_version})
b6a73c53
SS
52 end
53 end
54end