wok-current view libxcb/receipt @ rev 15984
tcc: improve arm support but still not cross compiling
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 02 00:29:29 2014 +0100 (2014-03-02) |
parents | fd812ac90452 |
children | 73fb2ebfd59a |
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) BUILD_DEPENDS="libxslt-dev xcb-proto xorg-libXau-dev" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 # http://www.linuxfromscratch.org/blfs/view/svn/x/libxcb.html
26 sed -i "s|pthread-stubs||" $src/configure.ac &&
27 autoreconf -fi &&
28 ./configure \
29 --enable-xinput \
30 --disable-build-docs \
31 --disable-static \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p \
41 $fs/usr/lib \
42 $fs/usr/share/licenses
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
45 }