wok rev 2752

Add libpthread-stubs
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 26 13:43:36 2009 +0200 (2009-04-26)
parents ad0ca4c550c3
children a6c50de081a9
files libpthread-stubs/receipt libxcb/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/libpthread-stubs/receipt	Sun Apr 26 13:43:36 2009 +0200
     1.3 @@ -0,0 +1,29 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="libpthread-stubs"
     1.7 +VERSION="0.1"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Weak aliases for pthread functions."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="http://xcb.freedesktop.org"
    1.13 +WGET_URL="$WEB_SITE/dist/$TARBALL"
    1.14 +
    1.15 +# Rules to configure and make the package.
    1.16 +compile_rules()
    1.17 +{
    1.18 +	cd $src
    1.19 +	./configure \
    1.20 +		--prefix=/usr \
    1.21 +		--infodir=/usr/share/info \
    1.22 +		--mandir=/usr/share/man \
    1.23 +		$CONFIGURE_ARGS &&
    1.24 +	make && make DESTDIR=$PWD/_pkg install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	cp -a $_pkg/usr $fs/usr
    1.31 +}
    1.32 +
     2.1 --- a/libxcb/receipt	Sun Apr 26 12:32:31 2009 +0200
     2.2 +++ b/libxcb/receipt	Sun Apr 26 13:43:36 2009 +0200
     2.3 @@ -5,8 +5,8 @@
     2.4  CATEGORY="x-window"
     2.5  SHORT_DESC="The X protocol C-language Binding (XCB) is a replacement for Xlib featuring a small footprint, latency hiding, direct access to the protocol, improved threading support, and extensibility."
     2.6  MAINTAINER="mallory@sweetpeople.org"
     2.7 -DEPENDS="xcb-proto"
     2.8 -BUILD_DEPENDS="xcb-proto"
     2.9 +DEPENDS="xcb-proto xorg-libXau"
    2.10 +BUILD_DEPENDS="xcb-proto pkg-config xorg-libXau-dev libpthread-stubs"
    2.11  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.12  WEB_SITE="http://xcb.freedesktop.org"
    2.13  WGET_URL="$WEB_SITE/dist/$TARBALL"