public inbox for development@lists.ipfire.org
 help / color / mirror / Atom feed
From: Stefan Schantl <stefan.schantl@ipfire.org>
To: development@lists.ipfire.org
Subject: [PATCH 4/9] perl-AnyEvent-BDB: New package.
Date: Thu, 14 Apr 2016 08:30:40 +0200	[thread overview]
Message-ID: <1460615445-3996-4-git-send-email-stefan.schantl@ipfire.org> (raw)
In-Reply-To: <1460615445-3996-1-git-send-email-stefan.schantl@ipfire.org>

[-- Attachment #1: Type: text/plain, Size: 2010 bytes --]

This is a build and runtime dependency of perl-Coro.

Signed-off-by: Stefan Schantl <stefan.schantl(a)ipfire.org>
---
 perl-AnyEvent-BDB/perl-AnyEvent-BDB.nm | 57 ++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
 create mode 100644 perl-AnyEvent-BDB/perl-AnyEvent-BDB.nm

diff --git a/perl-AnyEvent-BDB/perl-AnyEvent-BDB.nm b/perl-AnyEvent-BDB/perl-AnyEvent-BDB.nm
new file mode 100644
index 0000000..b12e425
--- /dev/null
+++ b/perl-AnyEvent-BDB/perl-AnyEvent-BDB.nm
@@ -0,0 +1,57 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info(a)ipfire.org>                   #
+###############################################################################
+
+name       = perl-AnyEvent-BDB
+version    = 1.1
+release    = 1
+arch	   = noarch
+thisapp    = AnyEvent-BDB-%{version}
+
+groups     = Development/Libraries
+url        = http://search.cpan.org/dist/AnyEvent-BDB/
+license    = GPL+ or Artistic
+summary    = Truly asynchronous Berkeley DB access.
+
+description
+	Loading this module will install the necessary magic to seamlessly integrate
+	BDB into AnyEvent, i.e. you no longer need to concern yourself with calling
+	BDB::poll_cb or any of that stuff.
+end
+
+source_dl  = http://search.cpan.org/CPAN/authors/id/M/ML/MLEHMANN/
+
+build
+	requires
+		perl(AnyEvent) >= 3.81
+		perl(BDB) >= 1.91
+		perl(Exporter)
+		perl(ExtUtils::MakeMaker)
+		pakfire >= 0.9.26-3.1
+	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(:MODULE_COMPAT_%{perl_version})
+		end
+	end
+
+	package %{name}-debuginfo
+		template DEBUGINFO
+	end
+end
-- 
2.4.11


  parent reply	other threads:[~2016-04-14  6:30 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-14  6:30 [PATCH 1/9] perl-Coro: Update to 6.49 Stefan Schantl
2016-04-14  6:30 ` [PATCH 2/9] perl-AnyEvent: New package Stefan Schantl
2016-04-14  6:30 ` [PATCH 3/9] perl-AnyEvent-AIO: " Stefan Schantl
2016-04-14 10:15   ` Michael Tremer
2016-04-26  6:55     ` Stefan Schantl
2016-04-14  6:30 ` Stefan Schantl [this message]
2016-04-14  6:30 ` [PATCH 5/9] perl-Canary-Stability: " Stefan Schantl
2016-04-14  6:30 ` [PATCH 6/9] perl-Event: " Stefan Schantl
2016-04-14  6:30 ` [PATCH 7/9] perl-Guard: " Stefan Schantl
2016-04-14  6:30 ` [PATCH 8/9] libev: " Stefan Schantl
2016-04-14  6:30 ` [PATCH 9/9] perl-EV: " Stefan Schantl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1460615445-3996-4-git-send-email-stefan.schantl@ipfire.org \
    --to=stefan.schantl@ipfire.org \
    --cc=development@lists.ipfire.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox