summaryrefslogtreecommitdiffstats
path: root/package/x11r7/xlib_libpthread-stubs
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2013-01-02 01:26:38 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2013-01-05 13:26:14 +0100
commit5bd41d165e12a2e3e5b776cb4079077cac995bfc (patch)
treef041cd5a9391e73d98e331c69fab6cb65dcd5889 /package/x11r7/xlib_libpthread-stubs
parent1a18a456f223562446c0ea2364109a05faae1bc1 (diff)
downloadbuildroot-novena-5bd41d165e12a2e3e5b776cb4079077cac995bfc.tar.gz
buildroot-novena-5bd41d165e12a2e3e5b776cb4079077cac995bfc.zip
pthread-stubs: rename to xlib_libpthread-stubs
In upstream X.org releases, pthread-stubs is named libpthread-stubs, so for consistency reasons, we rename the Buildroot package accordingly. Also, while we're at it, we add a xlib_ prefix to the package to match other X.org libraries in Buildroot. The necessary Config.in.legacy code is added to ensure that users having .config files using the old configuration option name get a warning. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/x11r7/xlib_libpthread-stubs')
-rw-r--r--package/x11r7/xlib_libpthread-stubs/Config.in7
-rw-r--r--package/x11r7/xlib_libpthread-stubs/xlib_libpthread-stubs.mk14
2 files changed, 21 insertions, 0 deletions
diff --git a/package/x11r7/xlib_libpthread-stubs/Config.in b/package/x11r7/xlib_libpthread-stubs/Config.in
new file mode 100644
index 000000000..fb5358555
--- /dev/null
+++ b/package/x11r7/xlib_libpthread-stubs/Config.in
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_XLIB_LIBPTHREAD_STUBS
+ bool "libpthread-stubs"
+ help
+ This library provides weak aliases for pthread functions not
+ provided in libc or otherwise available by default.
+
+ http://xcb.freedesktop.org/
diff --git a/package/x11r7/xlib_libpthread-stubs/xlib_libpthread-stubs.mk b/package/x11r7/xlib_libpthread-stubs/xlib_libpthread-stubs.mk
new file mode 100644
index 000000000..909253c11
--- /dev/null
+++ b/package/x11r7/xlib_libpthread-stubs/xlib_libpthread-stubs.mk
@@ -0,0 +1,14 @@
+#############################################################
+#
+# xlib_libpthread-stubs
+#
+#############################################################
+XLIB_LIBPTHREAD_STUBS_VERSION = 0.3
+XLIB_LIBPTHREAD_STUBS_SOURCE = libpthread-stubs-$(XLIB_LIBPTHREAD_STUBS_VERSION).tar.bz2
+XLIB_LIBPTHREAD_STUBS_SITE = http://xcb.freedesktop.org/dist/
+
+XLIB_LIBPTHREAD_STUBS_INSTALL_STAGING = YES
+
+$(eval $(autotools-package))
+$(eval $(host-autotools-package))
+