summaryrefslogtreecommitdiff
path: root/repo/userspace-rcu
diff options
context:
space:
mode:
Diffstat (limited to 'repo/userspace-rcu')
-rw-r--r--repo/userspace-rcu/userspace-rcu.xibuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/repo/userspace-rcu/userspace-rcu.xibuild b/repo/userspace-rcu/userspace-rcu.xibuild
new file mode 100644
index 0000000..6f73da6
--- /dev/null
+++ b/repo/userspace-rcu/userspace-rcu.xibuild
@@ -0,0 +1,28 @@
+#!/bin/sh
+
+NAME="userspace-rcu"
+DESC="Userspace RCU (read-copy-update) library"
+
+MAKEDEPS="bash perl"
+
+PKG_VER=0.12.2
+SOURCE="https://lttng.org/files/urcu/userspace-rcu-$PKG_VER.tar.bz2"
+
+build() {
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --infodir=/usr/share/info \
+ --localstatedir=/var
+ make V=1
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+ install -Dm644 LICENSE "$PKG_DEST"/usr/share/licenses/userspace-rcu/LICENSE
+}