diff options
author | Guillermo Rodriguez <guille.rodriguez@gmail.com> | 2018-05-25 12:45:44 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2018-05-25 20:59:29 +0200 |
commit | 228bcb3a5fd401708817a04571344f6ff1f7822e (patch) | |
tree | 92448c500d2d0c8cd89212e5a0ff64ae6b510914 | |
parent | b0b1317dea360e5a93389f6c17bdcc0c9f0a4dc0 (diff) | |
download | ptxdist-228bcb3a5fd401708817a04571344f6ff1f7822e.tar.gz ptxdist-228bcb3a5fd401708817a04571344f6ff1f7822e.tar.xz |
libev: New package
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>
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
-rw-r--r-- | rules/libev.in | 9 | ||||
-rw-r--r-- | rules/libev.make | 54 |
2 files changed, 63 insertions, 0 deletions
diff --git a/rules/libev.in b/rules/libev.in new file mode 100644 index 000000000..893d3c7a6 --- /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 000000000..21a2e2d59 --- /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 |