wok-6.x view libxcb/receipt @ rev 16173
Add: ympd (web frontend for mpd - perfect for RPi audio center remote control from desktop or mobile
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 30 16:39:01 2014 +0200 (2014-03-30) |
parents | 010bb8c2c4ac |
children | c358d2c8fa30 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libxcb"
4 VERSION="1.9.1"
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 --disable-build-docs \
33 --disable-static \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p \
43 $fs/usr/lib \
44 $fs/usr/share/licenses
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
47 }