diff options
author | Daniel Salzman <daniel.salzman@nic.cz> | 2014-06-19 13:27:30 +0200 |
---|---|---|
committer | Daniel Salzman <daniel.salzman@nic.cz> | 2014-06-19 13:29:11 +0200 |
commit | 193ecfb5c09a01ea091accb90432638e740d5cff (patch) | |
tree | 7b5eb3eaa969c4f99915b781bad51058df1ba627 /libs/liburcu | |
parent | fd2af5030fde6aff813cb46efcbcd1abb5f0c46e (diff) |
Added User-space RCU library version 0.7.12.
Signed-off-by: Daniel Salzman <daniel.salzman@nic.cz>
Diffstat (limited to 'libs/liburcu')
-rw-r--r-- | libs/liburcu/Makefile | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/libs/liburcu/Makefile b/libs/liburcu/Makefile new file mode 100644 index 000000000..4ce361fa2 --- /dev/null +++ b/libs/liburcu/Makefile @@ -0,0 +1,51 @@ +# +# Copyright (C) 2014 CZ.NIC, z.s.p.o. <knot-dns@labs.nic.cz> +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=liburcu +PKG_VERSION:=0.7.12 +PKG_RELEASE:=1 + +PKG_SOURCE:=userspace-rcu-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_SUBDIR:=userspace-rcu-$(PKG_VERSION) +PKG_SOURCE_URL:=https://lttng.org/files/urcu/ +PKG_MD5SUM:=5957c9f5d2d4a483dcada7f313b539ca + +PKG_BUILD_DIR:=$(BUILD_DIR)/userspace-rcu-$(PKG_VERSION) +PKG_BUILD_PARALLEL:=1 +PKG_INSTALL:=1 +PKG_USE_MIPS16:=0 + +include $(INCLUDE_DIR)/package.mk + +define Package/liburcu + SECTION:=libs + CATEGORY:=Libraries + TITLE:=User-space Read-Copy-Update library + URL:=https://lttng.org/ + MAINTAINER:=daniel.salzman@nic.cz + DEPENDS:=+libpthread +endef + +define Package/liburcu/description + Userspace Read-Copy-Update library. +endef + +define Build/InstallDev + $(INSTALL_DIR) $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/include/urcu* $(1)/usr/include/ + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/liburcu*.{a,so*} $(1)/usr/lib/ +endef + +define Package/liburcu/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/liburcu*.so.* $(1)/usr/lib/ +endef + +$(eval $(call BuildPackage,liburcu)) |