From: lars Date: Wed, 31 Dec 2008 00:15:49 +0000 (+0000) Subject: Add md5sum and description. X-Git-Url: http://207.154.207.93/?a=commitdiff_plain;h=40e0f7826407d247d3109c68ddfc241c3755f304;p=packages.git Add md5sum and description. git-svn-id: svn://svn.openwrt.org/openwrt/packages@13779 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- diff --git a/libs/libpthread-stubs/Makefile b/libs/libpthread-stubs/Makefile index 479b45736..980a64588 100644 --- a/libs/libpthread-stubs/Makefile +++ b/libs/libpthread-stubs/Makefile @@ -14,12 +14,11 @@ PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://xcb.freedesktop.org/dist/ -PKG_MD5SUM:= +PKG_MD5SUM:=774eabaf33440d534efe108ef9130a7d PKG_INSTALL:=1 include $(INCLUDE_DIR)/package.mk - define Package/libpthread-stubs SECTION:=libs CATEGORY:=Libraries @@ -28,6 +27,15 @@ define Package/libpthread-stubs endef define Package/libpthread-stubs/description +This library provides weak aliases for pthread functions not provided in libc +or otherwise available by default. Libraries like libxcb rely on pthread +stubs to use pthreads optionally, becoming thread-safe when linked to +libpthread, while avoiding any performance hit when running single-threaded. +libpthread-stubs supports this behavior even on platforms which do not supply +all the necessary pthread stubs. On platforms which already supply all the +necessary pthread stubs, this package ships only the pkg-config file +pthread-stubs.pc, to allow libraries to unconditionally express a dependency +on pthread-stubs and still obtain correct behavior. endef define Build/InstallDev