summaryrefslogtreecommitdiff
path: root/package/libuv
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2021-10-29 14:31:45 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2021-10-30 17:48:21 +0200
commit129b2e68b1c4d7323fb09aaa1573daafb5858a17 (patch)
tree3c7f4df83ae47f6fbacd1fd21618d5e7d76d0ec2 /package/libuv
parent52c09f0f6c6fcf6e81ee4fc7b2db225c3c950ecf (diff)
bind: update to 9.16.22
Diffstat (limited to 'package/libuv')
-rw-r--r--package/libuv/Makefile29
-rw-r--r--package/libuv/patches/patch-libuv_pc_in12
2 files changed, 41 insertions, 0 deletions
diff --git a/package/libuv/Makefile b/package/libuv/Makefile
new file mode 100644
index 000000000..3a8b43a61
--- /dev/null
+++ b/package/libuv/Makefile
@@ -0,0 +1,29 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= libuv
+PKG_VERSION:= 1.42.0
+PKG_RELEASE:= 1
+PKG_HASH:= 371e5419708f6aaeb8656671f89400b92a9bba6443369af1bb70bcd6e4b3c764
+PKG_DESCR:= multi-platform support library
+PKG_SECTION:= libs/misc
+PKG_URL:= https://github.com/libuv/libuv/
+PKG_SITES:= https://github.com/libuv/libuv/archive/refs/tags/
+PKG_OPTS:= dev
+
+DISTFILES:= v$(PKG_VERSION).tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBUV,libuv,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+CONFIG_STYLE:= cmake
+
+libuv-install:
+ $(INSTALL_DIR) $(IDIR_LIBUV)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libuv*.so* \
+ $(IDIR_LIBUV)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk
diff --git a/package/libuv/patches/patch-libuv_pc_in b/package/libuv/patches/patch-libuv_pc_in
new file mode 100644
index 000000000..4c7ae339d
--- /dev/null
+++ b/package/libuv/patches/patch-libuv_pc_in
@@ -0,0 +1,12 @@
+--- libuv-1.42.0.orig/libuv.pc.in 2021-07-20 04:44:04.000000000 +0200
++++ libuv-1.42.0/libuv.pc.in 2021-10-29 13:40:49.561398557 +0200
+@@ -1,7 +1,7 @@
+ prefix=@prefix@
+ exec_prefix=${prefix}
+-libdir=@libdir@
+-includedir=@includedir@
++libdir=${prefix}/@libdir@
++includedir=${prefix}/@includedir@
+
+ Name: libuv
+ Version: @PACKAGE_VERSION@