summaryrefslogtreecommitdiffstats
path: root/rules/libuv.make
diff options
context:
space:
mode:
authorJuergen Borleis <jbe@pengutronix.de>2018-10-15 11:40:19 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2018-10-17 15:55:54 +0200
commit09ec796afe4611c15ff0e6e021e23bdb5af24ea8 (patch)
treeddbbc4bd353d185a8ab4cce3f3ac2019c0aea27b /rules/libuv.make
parenta373124c1719cf0711799f0aa9d2d2516f80bc4b (diff)
downloadptxdist-09ec796afe4611c15ff0e6e021e23bdb5af24ea8.tar.gz
ptxdist-09ec796afe4611c15ff0e6e021e23bdb5af24ea8.tar.xz
libuv: add new library for asynchronous event notifications
Libuv is the asynchronous library behind Node.js. Signed-off-by: Juergen Borleis <jbe@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'rules/libuv.make')
-rw-r--r--rules/libuv.make59
1 files changed, 59 insertions, 0 deletions
diff --git a/rules/libuv.make b/rules/libuv.make
new file mode 100644
index 000000000..3cb202b2b
--- /dev/null
+++ b/rules/libuv.make
@@ -0,0 +1,59 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2018 by Marc Kleine-Budde <mkl@pengutronix.de>
+#
+# 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_LIBUV) += libuv
+
+#
+# Paths and names
+#
+LIBUV_VERSION := 1.23.2
+LIBUV_MD5 := cda910306306f997e569c8a0adee44ce
+LIBUV := libuv-v$(LIBUV_VERSION)
+LIBUV_SUFFIX := tar.gz
+LIBUV_URL := https://dist.libuv.org/dist/v$(LIBUV_VERSION)/$(LIBUV).$(LIBUV_SUFFIX)
+LIBUV_SOURCE := $(SRCDIR)/$(LIBUV).$(LIBUV_SUFFIX)
+LIBUV_DIR := $(BUILDDIR)/$(LIBUV)
+LIBUV_LICENSE := MIT
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+#
+# autoconf
+#
+LIBUV_CONF_TOOL := autoconf
+LIBUV_CONF_OPT := \
+ $(CROSS_AUTOCONF_USR) \
+ $(GLOBAL_LARGE_FILE_OPTION)
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/libuv.targetinstall:
+ @$(call targetinfo)
+
+ @$(call install_init, libuv)
+ @$(call install_fixup, libuv,PRIORITY,optional)
+ @$(call install_fixup, libuv,SECTION,base)
+ @$(call install_fixup, libuv,AUTHOR,"Marc Kleine-Budde <mkl@pengutronix.de>")
+ @$(call install_fixup, libuv,DESCRIPTION,missing)
+
+ @$(call install_lib, libuv, 0, 0, 0644, libuv)
+
+ @$(call install_finish, libuv)
+
+ @$(call touch)
+
+# vim: syntax=make