From: Stefan Schantl Date: Sun, 22 Apr 2012 19:25:24 +0000 (+0200) Subject: perl-common-sense: New package. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b6a73c534bb00107beae7f213e982ee5d514257f;p=ipfire-3.x.git perl-common-sense: New package. --- diff --git a/perl-common-sense/perl-common-sense.nm b/perl-common-sense/perl-common-sense.nm new file mode 100644 index 000000000..f6dfb0e28 --- /dev/null +++ b/perl-common-sense/perl-common-sense.nm @@ -0,0 +1,53 @@ +############################################################################### +# IPFire.org - An Open Source Firewall Solution # +# Copyright (C) - IPFire Development Team # +############################################################################### + +name = perl-common-sense +version = 3.5 +release = 1 +arch = noarch +thisapp = common-sense-%{version} + +groups = Development/Libraries +url = http://search.cpan.org/dist/common-sense +license = GPL+ or Artistic +summary = "Common sense" Perl defaults. + +description + This module implements some sane defaults for Perl programs, as defined + by two typical (or not so typical - use your common sense) specimens of + + Perl coders: + - use strict qw(vars subs); + - use feature qw(say state switch); + - no warnings; +end + +source_dl = http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/ + +build + requires + perl(ExtUtils::MakeMaker) + perl(ExtUtils::ParseXS) + end + + build + perl Makefile.PL INSTALLDIRS=vendor OPTIMIZE="%{CFLAGS}" + make %{PARALLELISMFLAGS} + end + + test + make test + end + + make_install_targets = pure_install DESTDIR=%{BUILDROOT} +end + +packages + package %{name} + requires + perl + end + end +end