1 ###############################################################################
2 # IPFire.org - An Open Source Firewall Solution #
3 # Copyright (C) - IPFire Development Team <info@ipfire.org> #
4 ###############################################################################
6 name = perl-common-sense
9 thisapp = common-sense-%{version}
11 groups = Development/Libraries
12 url = http://search.cpan.org/dist/common-sense
13 license = GPL+ or Artistic
14 summary = "Common sense" Perl defaults.
17 This module implements some sane defaults for Perl programs, as defined
18 by two typical (or not so typical - use your common sense) specimens of
21 - use strict qw(vars subs);
22 - use feature qw(say state switch);
26 source_dl = https://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/
32 perl(ExtUtils::MakeMaker)
33 perl(ExtUtils::ParseXS)
38 perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}"
39 make %{PARALLELISMFLAGS}
46 make_install_targets = \
47 pure_install DESTDIR=%{BUILDROOT}
52 requires = perl(:MODULE_COMPAT_%{perl_version})