From: Stefan Schantl Date: Sun, 13 Mar 2011 20:05:15 +0000 (+0100) Subject: perl-Test-Simple: New package. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ea7cedc9935dadea87d3eda31960ae10a1f496e;p=ipfire-3.x.git perl-Test-Simple: New package. Reference #144. --- diff --git a/pkgs/perl-Test-Simple/perl-Test-Simple.nm b/pkgs/perl-Test-Simple/perl-Test-Simple.nm new file mode 100644 index 000000000..c4a4a44ea --- /dev/null +++ b/pkgs/perl-Test-Simple/perl-Test-Simple.nm @@ -0,0 +1,54 @@ +############################################################################### +# # +# IPFire.org - A linux based firewall # +# Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # +# # +# This program is free software: you can redistribute it and/or modify # +# it under the terms of the GNU General Public License as published by # +# the Free Software Foundation, either version 3 of the License, or # +# (at your option) any later version. # +# # +# This program is distributed in the hope that it will be useful, # +# but WITHOUT ANY WARRANTY; without even the implied warranty of # +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # +# GNU General Public License for more details. # +# # +# You should have received a copy of the GNU General Public License # +# along with this program. If not, see . # +# # +############################################################################### + +############################################################################### +# Definitions +############################################################################### + +include $(PKGROOT)/Include + +PKG_NAME = Test-Simple +PKG_VER = 0.98 +PKG_REL = 1 +PKG_ARCH = noarch + +PKG_MAINTAINER = +PKG_GROUP = Development/Libratries +PKG_URL = http://search.cpan.org/dist/Test-Simple/ +PKG_LICENSE = GPL+ or Artistic +PKG_SUMMARY = Basic utilities for writing tests. + +PKG_BUILD_DEPS+= perl-core perl-devel perl(Test::Harness) + +define PKG_DESCRIPTION + This package provides the bulk of the core testing facilities. For more \ + information, see perldoc for Test::Simple, Test::More, etc. +endef + +PKG_TARBALL = $(THISAPP).tar.gz + +define STAGE_BUILD + cd $(DIR_APP) && perl Makefile.PL INSTALLDIRS=perl + cd $(DIR_APP) && make $(PARALLELISMFLAGS) +endef + +define STAGE_TEST + cd $(DIR_APP) && make test +endef