wok annotate 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
rev   line source
mallory@2685 1 # SliTaz package receipt.
mallory@2685 2
mallory@2685 3 PACKAGE="libxcb"
pankso@16193 4 VERSION="1.10"
mallory@2685 5 CATEGORY="x-window"
al@14595 6 SHORT_DESC="A C binding to the X11 protocol"
pankso@15969 7 MAINTAINER="pankso@slitaz.org"
al@14595 8 LICENSE="other"
al@14595 9 WEB_SITE="http://xcb.freedesktop.org/"
mallory@2685 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@14595 11 WGET_URL="${WEB_SITE}dist/$TARBALL"
pankso@16021 12 HOST_ARCH="i486 arm"
al@14595 13
al@14595 14 DEPENDS="glibc-base xorg-libXau xorg-libXdmcp"
al@14604 15 BUILD_DEPENDS="libxslt-dev xcb-proto xorg-libXau-dev xorg-libXdmcp-dev \
al@14604 16 autoconf automake libtool"
mallory@2685 17
pankso@15969 18 case "$ARCH" in
pankso@16021 19 arm)
pankso@16021 20 # We need host xcb-proto libxslt-dev file installed
pankso@16021 21 BUILD_DEPENDS="libxslt-dev xcb-proto xorg-libXau-dev xorg-libXdmcp-dev" ;;
pankso@15969 22 esac
pankso@15969 23
mallory@2685 24 # Rules to configure and make the package.
mallory@2685 25 compile_rules()
mallory@2685 26 {
al@14595 27 # http://www.linuxfromscratch.org/blfs/view/svn/x/libxcb.html
al@14595 28 sed -i "s|pthread-stubs||" $src/configure.ac &&
al@14604 29 autoreconf -fi &&
pascal@12942 30 ./configure \
slaxemulator@12932 31 --enable-xinput \
pankso@16193 32 --enable-xkb \
al@14595 33 --disable-build-docs \
al@14604 34 --disable-static \
mallory@2685 35 $CONFIGURE_ARGS &&
al@14595 36 make &&
al@14595 37 make DESTDIR=$DESTDIR install
mallory@2685 38 }
mallory@2685 39
mallory@2685 40 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@2685 41 genpkg_rules()
mallory@2685 42 {
al@14595 43 mkdir -p \
al@14595 44 $fs/usr/lib \
al@14595 45 $fs/usr/share/licenses
pascal@14566 46 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@14595 47 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
mallory@2685 48 }
mallory@2685 49