wok-6.x view libxcb/receipt @ rev 12942

libxcb: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 30 17:31:03 2012 +0200 (2012-05-30)
parents 45b4c06dfa05
children f15c857e3e67
line source
1 # SliTaz package receipt.
3 PACKAGE="libxcb"
4 VERSION="1.8.1"
5 CATEGORY="x-window"
6 SHORT_DESC="The X protocol C-language Binding (XCB) is a replacement for \
7 Xlib featuring a small footprint, latency hiding, direct access to the \
8 protocol, improved threading support, and extensibility."
9 MAINTAINER="mallory@sweetpeople.org"
10 DEPENDS="xorg-libXau xorg-libXdmcp"
11 BUILD_DEPENDS="xcb-proto libxslt-dev pkg-config libpthread-stubs xorg-libXau-dev xorg-libXdmcp-dev"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WEB_SITE="http://xcb.freedesktop.org"
14 WGET_URL="$WEB_SITE/dist/$TARBALL"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --enable-xinput \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$DESTDIR 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 }