summaryrefslogtreecommitdiff
path: root/repo/libpthread-stubs/libpthread-stubs.xibuild
diff options
context:
space:
mode:
Diffstat (limited to 'repo/libpthread-stubs/libpthread-stubs.xibuild')
-rw-r--r--repo/libpthread-stubs/libpthread-stubs.xibuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/repo/libpthread-stubs/libpthread-stubs.xibuild b/repo/libpthread-stubs/libpthread-stubs.xibuild
new file mode 100644
index 0000000..cbdeaec
--- /dev/null
+++ b/repo/libpthread-stubs/libpthread-stubs.xibuild
@@ -0,0 +1,24 @@
+#!/bin/sh
+
+NAME="libpthread-stubs"
+DESC="Pthread functions stubs for platforms missing them"
+
+MAKEDEPS=""
+
+PKG_VER=0.4
+SOURCE="https://xcb.freedesktop.org/dist/libpthread-stubs-$PKG_VER.tar.bz2"
+
+build() {
+ ./configure \
+ --prefix=/usr
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$PKG_DEST" install
+}
+