wok-next view libxcb/receipt @ 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 a17a199c9ca3
children 583bdd691510
line source
1 # SliTaz package receipt.
3 PACKAGE="libxcb"
4 VERSION="1.2"
5 CATEGORY="x-window"
6 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."
7 MAINTAINER="mallory@sweetpeople.org"
8 DEPENDS="xcb-proto xorg-libXau"
9 BUILD_DEPENDS="xcb-proto pkg-config xorg-libXau-dev libpthread-stubs"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://xcb.freedesktop.org"
12 WGET_URL="$WEB_SITE/dist/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }