libpthread-stubs: add metafile support, cleanups, thanks to cowbalt

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-11-13 14:27:47 +01:00
parent 9cf825695b
commit 5c684dd89c
3 changed files with 14 additions and 3 deletions

View File

@ -2,8 +2,6 @@
. config/options $1
$SCRIPTS/build toolchain
cd $PKG_BUILD
./configure --host=$TARGET_NAME \
--build=$HOST_NAME \

View File

@ -0,0 +1,14 @@
PKG_NAME="libpthread-stubs"
PKG_VERSION="0.3"
PKG_REV="1"
PKG_ARCH="any"
PKG_LICENSE="OSS"
PKG_SITE="http://xcb.freedesktop.org/"
PKG_URL="http://xcb.freedesktop.org/dist/$PKG_NAME-$PKG_VERSION.tar.gz"
PKG_DEPENDS=""
PKG_BUILD_DEPENDS="toolchain"
PKG_PRIORITY="optional"
PKG_SECTION="devel"
PKG_SHORTDESC="libpthread-stubs: A library providing weak aliases for pthread functions"
PKG_LONGDESC="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."
PKG_IS_ADDON="no"

View File

@ -1 +0,0 @@
http://xcb.freedesktop.org/dist/libpthread-stubs-0.3.tar.gz