wok-current view libxcb/receipt @ rev 18074
djview, djvulibre, smtube: revert to using (fixed) SF_MIRROR.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 21 18:01:32 2015 +0300 (2015-05-21) |
parents | c358d2c8fa30 |
children | a78610b2eb47 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libxcb"
4 VERSION="1.10"
5 ARM_VERSION="1.9.1"
6 CATEGORY="x-window"
7 SHORT_DESC="A C binding to the X11 protocol"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="other"
10 WEB_SITE="http://xcb.freedesktop.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="${WEB_SITE}dist/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="glibc-base xorg-libXau xorg-libXdmcp"
16 BUILD_DEPENDS="libxslt-dev xcb-proto xorg-libXau-dev xorg-libXdmcp-dev \
17 autoconf automake libtool"
19 # Handle SliTaz arch
20 case "$SLITAZ_ARCH" in
21 arm*) VERSION="$ARM_VERSION" ;;
22 esac
24 case "$ARCH" in
25 arm*)
26 # We need host xcb-proto libxslt-dev file installed
27 VERSION="$ARM_VERSION"
28 TARBALL="$PACKAGE-$VERSION.tar.bz2"
29 WGET_URL="${WEB_SITE}dist/$TARBALL"
30 BUILD_DEPENDS="libxslt-dev xcb-proto xorg-libXau-dev xorg-libXdmcp-dev" ;;
31 esac
33 # Rules to configure and make the package.
34 compile_rules()
35 {
36 # http://www.linuxfromscratch.org/blfs/view/svn/x/libxcb.html
37 sed -i "s|pthread-stubs||" $src/configure.ac &&
38 autoreconf -fi &&
39 ./configure \
40 --enable-xinput \
41 --enable-xkb \
42 --disable-build-docs \
43 --disable-static \
44 $CONFIGURE_ARGS &&
45 make &&
46 make DESTDIR=$DESTDIR install
47 }
49 # Rules to gen a SliTaz package suitable for Tazpkg.
50 genpkg_rules()
51 {
52 mkdir -p \
53 $fs/usr/lib \
54 $fs/usr/share/licenses
55 cp -a $install/usr/lib/*.so* $fs/usr/lib
56 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
57 }