mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] libev: New package
@ 2018-05-25 10:45 Guillermo Rodriguez
  0 siblings, 0 replies; only message in thread
From: Guillermo Rodriguez @ 2018-05-25 10:45 UTC (permalink / raw)
  To: ptxdist; +Cc: Guillermo Rodriguez

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-05-25 10:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-05-25 10:45 [ptxdist] [PATCH] libev: New package Guillermo Rodriguez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox