From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl <stefan.schantl@ipfire.org> To: development@lists.ipfire.org Subject: [PATCH 7/9] perl-Guard: New package. Date: Thu, 14 Apr 2016 08:30:43 +0200 Message-ID: <1460615445-3996-7-git-send-email-stefan.schantl@ipfire.org> In-Reply-To: <1460615445-3996-1-git-send-email-stefan.schantl@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5496044298752811313==" List-Id: <development.lists.ipfire.org> --===============5496044298752811313== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable This is a build and runtime dependency of perl-Coro. Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org> --- perl-Guard/perl-Guard.nm | 59 ++++++++++++++++++++++++++++++++++++++++++++++= ++ 1 file changed, 59 insertions(+) create mode 100644 perl-Guard/perl-Guard.nm diff --git a/perl-Guard/perl-Guard.nm b/perl-Guard/perl-Guard.nm new file mode 100644 index 0000000..be0a601 --- /dev/null +++ b/perl-Guard/perl-Guard.nm @@ -0,0 +1,59 @@ +############################################################################= ### +# IPFire.org - An Open Source Firewall Solution = # +# Copyright (C) - IPFire Development Team <info(a)ipfire.org> = # +############################################################################= ### + +name =3D perl-Guard +version =3D 1.023 +release =3D 1 +thisapp =3D Guard-%{version} + +groups =3D Development/Libraries +url =3D http://search.cpan.org/dist/Guard/ +license =3D GPL+ or Artistic +summary =3D Safe cleanup blocks. + +description + This module implements so-called "guards". A guard is something (usually an + object) that "guards" a resource, ensuring that it is cleaned up when expec= ted. +end + +source_dl =3D http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/ + +build + requires + perl(Exporter) + perl(ExtUtils::MakeMaker) + perl(XSLoader) + perl(base) + perl(warnings) + pakfire >=3D 0.9.26-3.1 + end + + build + perl Makefile.PL INSTALLDIRS=3Dvendor OPTIMIZE=3D"%{CFLAGS}" + make %{PARALLELISMFLAGS} + end + + test + make test + end + + make_install_targets =3D \ + pure_install DESTDIR=3D%{BUILDROOT} +end + +packages + package %{name} + requires + perl(:MODULE_COMPAT_%{perl_version}) + perl(Exporter) + perl(XSLoader) + perl(warnings) + end + end + + package %{name}-debuginfo + template DEBUGINFO + end +end --=20 2.4.11 --===============5496044298752811313==--