From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Schantl To: development@lists.ipfire.org Subject: [PATCH 2/9] perl-AnyEvent: New package. Date: Thu, 14 Apr 2016 08:30:38 +0200 Message-ID: <1460615445-3996-2-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="===============3804264453928307660==" List-Id: --===============3804264453928307660== 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-AnyEvent/perl-AnyEvent.nm | 103 +++++++++++++++++++++++++++++++++++++++= ++ 1 file changed, 103 insertions(+) create mode 100644 perl-AnyEvent/perl-AnyEvent.nm diff --git a/perl-AnyEvent/perl-AnyEvent.nm b/perl-AnyEvent/perl-AnyEvent.nm new file mode 100644 index 0000000..0021591 --- /dev/null +++ b/perl-AnyEvent/perl-AnyEvent.nm @@ -0,0 +1,103 @@ +############################################################################= ### +# IPFire.org - An Open Source Firewall Solution = # +# Copyright (C) - IPFire Development Team = # +############################################################################= ### + +name =3D perl-AnyEvent +version =3D 7.12 +release =3D 1 +thisapp =3D AnyEvent-%{version} + +groups =3D Development/Libraries +url =3D http://search.cpan.org/dist/AnyEvent/ +license =3D GPL+ or Artistic +summary =3D Framework for multiple event loops. + +description + AnyEvent provides an identical interface to multiple event loops. This allo= ws + module authors to utilize an event loop without forcing module users to use= the + same event loop. +end + +source_dl =3D http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/ + +build + requires + coreutils + findutils + perl(Carp) + perl(Canary::Stability) + perl(Exporter) + perl(ExtUtils::MakeMaker) + perl(ExtUtils::ParseXS) + perl(File::Spec) + perl(File::Temp) + perl(List::Util) + perl(Net::SSLeay) + perl(Scalar::Util) + perl(Socket) + perl(Storable) + perl(Test::More) + perl(Time::HiRes) + perl(base) + perl(overload) + pakfire >=3D 0.9.26-3.1 + end + + build + perl Makefile.PL INSTALLDIRS=3Dvendor OPTIMIZE=3D"%{CFLAGS}" + make %{PARALLELISMFLAGS} + end + + test + # PERL_ANYEVENT_NET_TESTS shouldn't be set to avoid network tests + # on the builder. + export PERL_ANYEVENT_LOOP_TESTS=3D1 + make test + end + + make_install_targets =3D \ + pure_install DESTDIR=3D%{BUILDROOT} +end + +packages + package %{name} + filter_requires + AnyEvent::AIO + Cocoa::EventLoop + EV + Event + Event::Lib + EventLoop + FLTK + Glib + IO::AIO + IO::Async::Loop + Irssi + POE + Qt + Qt::isa + Qt::slots + Tk + UV + end + + requires + perl(:MODULE_COMPAT_%{perl_version}) + perl(Storable) + end + + # Filter unversioned and bogus provides. + filter_provides + DB + Impl + Cocoa + FLTK + UV + end + end + + package %{name}-debuginfo + template DEBUGINFO + end +end --=20 2.4.11 --===============3804264453928307660==--