summaryrefslogtreecommitdiff
path: root/package/liburcu
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-02-12 06:09:15 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-02-12 06:28:36 +0100
commit80906288736d6f8cba3d06a8c5914c848744dcdf (patch)
treed538b4fc5204e37acaf83568af1ab921c2df2775 /package/liburcu
parentf4ad701ec4fc40cbcfea807522c588dd640e735b (diff)
liburcu: new package
Diffstat (limited to 'package/liburcu')
-rw-r--r--package/liburcu/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/liburcu/Makefile b/package/liburcu/Makefile
new file mode 100644
index 000000000..60477c389
--- /dev/null
+++ b/package/liburcu/Makefile
@@ -0,0 +1,27 @@
+# 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:= liburcu
+PKG_VERSION:= 0.14.0
+PKG_RELEASE:= 1
+PKG_HASH:= ca43bf261d4d392cff20dfae440836603bf009fce24fdc9b2697d837a2239d4f
+PKG_DESCR:= userspace rcu (read-copy-update) libraries
+PKG_SECTION:= libs/misc
+PKG_SITES:= https://lttng.org/files/urcu/
+PKG_OPTS:= dev
+
+DISTFILES:= userspace-rcu-$(PKG_VERSION).tar.bz2
+WRKDIST= ${WRKDIR}/userspace-rcu-${PKG_VERSION}
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,LIBURCU,liburcu,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+liburcu-install:
+ $(INSTALL_DIR) $(IDIR_LIBURCU)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/liburcu*.so* \
+ $(IDIR_LIBURCU)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk