wok-current view libxcb/receipt @ rev 22652

updated docbook-xsl-ns (1.76.1 -> 1.79.1)
author Hans-G?nter Theisgen
date Tue Jan 14 14:54:26 2020 +0100 (2020-01-14)
parents a78610b2eb47
children 8b1267de9505
line source
1 # SliTaz package receipt.
3 PACKAGE="libxcb"
4 VERSION="1.13.1"
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="https://xcb.freedesktop.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="${WEB_SITE}dist/$TARBALL"
15 DEPENDS="glibc-base xorg-libXau xorg-libXdmcp"
16 BUILD_DEPENDS="autoconf automake libtool libxslt-dev xcb-proto xorg-libXau-dev
17 xorg-libXdmcp-dev"
19 HOST_ARCH="i486 arm"
21 # Handle SliTaz arch
22 case "$SLITAZ_ARCH" in
23 arm*) VERSION="$ARM_VERSION" ;;
24 esac
26 case "$ARCH" in
27 arm*)
28 # We need host xcb-proto libxslt-dev file installed
29 VERSION="$ARM_VERSION"
30 TARBALL="$PACKAGE-$VERSION.tar.bz2"
31 WGET_URL="${WEB_SITE}dist/$TARBALL"
32 BUILD_DEPENDS="libxslt-dev xcb-proto xorg-libXau-dev xorg-libXdmcp-dev" ;;
33 esac
35 # Rules to configure and make the package.
36 compile_rules()
37 {
38 # http://www.linuxfromscratch.org/blfs/view/svn/x/libxcb.html
39 sed -i "s|pthread-stubs||" $src/configure.ac &&
40 autoreconf -fi &&
41 ./configure \
42 --enable-xinput \
43 --enable-xkb \
44 --disable-build-docs \
45 --disable-static \
46 $CONFIGURE_ARGS &&
47 make &&
48 make DESTDIR=$DESTDIR install
49 }
51 # Rules to gen a SliTaz package suitable for Tazpkg.
52 genpkg_rules()
53 {
54 mkdir -p $fs/usr/lib
55 mkdir -p $fs/usr/share/licenses
57 cp -a $install/usr/lib/*.so* $fs/usr/lib
58 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
59 }