]> git.ipfire.org Git - people/amarx/ipfire-3.x.git/blob - perl-common-sense/perl-common-sense.nm
Merge remote-tracking branch 'stevee/unicode-ucd'
[people/amarx/ipfire-3.x.git] / perl-common-sense / perl-common-sense.nm
1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
5
6 name = perl-common-sense
7 version = 3.5
8 release = 1
9 arch = noarch
10 thisapp = common-sense-%{version}
11
12 groups = Development/Libraries
13 url = http://search.cpan.org/dist/common-sense
14 license = GPL+ or Artistic
15 summary = "Common sense" Perl defaults.
16
17 description
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;
25 end
26
27 source_dl = http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/
28
29 build
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
44 make_install_targets = pure_install DESTDIR=%{BUILDROOT}
45 end
46
47 packages
48 package %{name}
49 requires
50 perl
51 end
52 end
53 end