mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Guillermo Rodriguez <guille.rodriguez@gmail.com>
To: ptxdist@pengutronix.de
Cc: Guillermo Rodriguez <guille.rodriguez@gmail.com>
Subject: [ptxdist] [PATCH] libev: New package
Date: Fri, 25 May 2018 12:45:44 +0200	[thread overview]
Message-ID: <1527245144-17892-1-git-send-email-guille.rodriguez@gmail.com> (raw)

libev is a full-featured and high-performance event
loop that is loosely modelled after libevent, but
without its limitations and bugs.

Signed-off-by: Guillermo Rodriguez <guille.rodriguez@gmail.com>
---
 rules/libev.in   |  9 +++++++++
 rules/libev.make | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 63 insertions(+)
 create mode 100644 rules/libev.in
 create mode 100644 rules/libev.make

diff --git a/rules/libev.in b/rules/libev.in
new file mode 100644
index 0000000..893d3c7
--- /dev/null
+++ b/rules/libev.in
@@ -0,0 +1,9 @@
+## SECTION=system_libraries
+
+config LIBEV
+	bool
+	prompt "libev"
+	help
+	  A full-featured and high-performance event loop that is loosely
+	  modelled after libevent, but without its limitations and bugs.
+	  
diff --git a/rules/libev.make b/rules/libev.make
new file mode 100644
index 0000000..21a2e2d
--- /dev/null
+++ b/rules/libev.make
@@ -0,0 +1,54 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 by Guillermo Rodriguez <guille.rodriguez@gmail.com>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_LIBEV) += libev
+
+#
+# Paths and names
+#
+LIBEV_VERSION	:= 4.24
+LIBEV_MD5	:= 94459a5a22db041dec6f98424d6efe54
+LIBEV		:= libev-$(LIBEV_VERSION)
+LIBEV_SUFFIX	:= tar.gz
+LIBEV_URL	:= http://dist.schmorp.de/libev/Attic/$(LIBEV).$(LIBEV_SUFFIX)
+LIBEV_SOURCE	:= $(SRCDIR)/$(LIBEV).$(LIBEV_SUFFIX)
+LIBEV_DIR	:= $(BUILDDIR)/$(LIBEV)
+LIBEV_LICENSE	:= GPLv2+, BSD
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+LIBEV_CONF_TOOL	:= autoconf
+LIBEV_CONF_OPT	:= $(CROSS_AUTOCONF_USR)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libev.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, libev)
+	@$(call install_fixup, libev, PRIORITY, optional)
+	@$(call install_fixup, libev, SECTION, base)
+	@$(call install_fixup, libev, AUTHOR, "Guillermo Rodriguez <guille.rodriguez@gmail.com>")
+	@$(call install_fixup, libev, DESCRIPTION, missing)
+
+	@$(call install_lib, libev, 0, 0, 0644, libev)
+
+	@$(call install_finish, libev)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
1.9.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2018-05-25 10:46 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1527245144-17892-1-git-send-email-guille.rodriguez@gmail.com \
    --to=guille.rodriguez@gmail.com \
    --cc=ptxdist@pengutronix.de \
    /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