From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 6/9] perl-Event: New package. Date: Thu, 14 Apr 2016 08:30:42 +0200 Message-ID: <1460615445-3996-6-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="===============8165483426382305165==" List-Id: --===============8165483426382305165== 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 --- perl-Event/perl-Event.nm | 71 ++++++++++++++++++++++++++++++++++++++++++++++= ++ 1 file changed, 71 insertions(+) create mode 100644 perl-Event/perl-Event.nm diff --git a/perl-Event/perl-Event.nm b/perl-Event/perl-Event.nm new file mode 100644 index 0000000..f80cb6e --- /dev/null +++ b/perl-Event/perl-Event.nm @@ -0,0 +1,71 @@ +############################################################################= ### +# IPFire.org - An Open Source Firewall Solution = # +# Copyright (C) - IPFire Development Team = # +############################################################################= ### + +name =3D perl-Event +version =3D 1.24 +release =3D 1 +thisapp =3D Event-%{version} + +groups =3D Development/Libraries +url =3D http://search.cpan.org/dist/Event/ +license =3D GPL+ or Artistic +summary =3D Event loop processing perl module. + +description + The Event module provide a central facility to watch for various types of + events and invoke a callback when these events occur. The idea is to delay = the + handling of events so that they may be dispatched in priority order when it= is + safe for callbacks to execute. +end + +source_dl =3D http://search.cpan.org/CPAN/authors/id/E/ET/ETJ/ + +build + requires + perl(Carp) + perl(Config) + perl(DynaLoader) + perl(Exporter) + perl(ExtUtils::MakeMaker) + perl(Symbol) + perl(Test) >=3D 1 + perl(Time::HiRes) + perl(base) + perl(integer) + perl(strict) + perl(vars) + pakfire >=3D 0.9.26-3.1 + end + + prepare_cmds + # Fix up permissions and shellbangs. + perl -pi -e 's|#!./perl|#!/usr/bin/perl|' demo/*.t t/*.t util/bench.pl + 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(Time::HiRes) + end + end + + package %{name}-debuginfo + template DEBUGINFO + end +end --=20 2.4.11 --===============8165483426382305165==--