wok-next view libxcb/receipt @ rev 16193

Add libxkbcommon and up libxcb with xkb support
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 30 21:43:58 2014 +0200 (2014-03-30)
parents 73fb2ebfd59a
children e6bbb8cc0677
line source
1 # SliTaz package receipt.
3 PACKAGE="libxcb"
4 VERSION="1.10"
5 CATEGORY="x-window"
6 SHORT_DESC="A C binding to the X11 protocol"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="http://xcb.freedesktop.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="${WEB_SITE}dist/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glibc-base xorg-libXau xorg-libXdmcp"
15 BUILD_DEPENDS="libxslt-dev xcb-proto xorg-libXau-dev xorg-libXdmcp-dev \
16 autoconf automake libtool"
18 case "$ARCH" in
19 arm)
20 # We need host xcb-proto libxslt-dev file installed
21 BUILD_DEPENDS="libxslt-dev xcb-proto xorg-libXau-dev xorg-libXdmcp-dev" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 # http://www.linuxfromscratch.org/blfs/view/svn/x/libxcb.html
28 sed -i "s|pthread-stubs||" $src/configure.ac &&
29 autoreconf -fi &&
30 ./configure \
31 --enable-xinput \
32 --enable-xkb \
33 --disable-build-docs \
34 --disable-static \
35 $CONFIGURE_ARGS &&
36 make &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p \
44 $fs/usr/lib \
45 $fs/usr/share/licenses
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
48 }