wok-next view libxcb/receipt @ rev 19723

Up valgrind (3.12.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 24 18:53:03 2017 +0200 (2017-05-24)
parents e6bbb8cc0677
children f463de72afe3
line source
1 # SliTaz package receipt.
3 PACKAGE="libxcb"
4 VERSION="1.12"
5 VERSION_arm="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/"
11 HOST_ARCH="i486 arm"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WGET_URL="${WEB_SITE}dist/$TARBALL"
15 TARBALL_arm="$PACKAGE-$VERSION_arm.tar.bz2"
16 WGET_URL_arm="${WEB_SITE}dist/$TARBALL_arm"
18 DEPENDS="glibc-base xorg-libXau xorg-libXdmcp"
19 BUILD_DEPENDS="libxslt-dev xcb-proto xorg-libXau-dev xorg-libXdmcp-dev \
20 autoconf automake libtool"
21 BUILD_DEPENDS_arm="libxslt-dev xcb-proto xorg-libXau-dev xorg-libXdmcp-dev"
23 # Handle SliTaz arch
24 case "$SLITAZ_ARCH" in
25 arm*) VERSION="$VERSION_arm" ;;
26 esac
28 case "$ARCH" in
29 arm*)
30 # We need host xcb-proto libxslt-dev file installed
31 VERSION="$VERSION_arm"
32 TARBALL="$TARBALL_arm"
33 WGET_URL="$WGET_URL_arm"
34 BUILD_DEPENDS="$BUILD_DEPENDS_arm"
35 ;;
36 esac
38 # Rules to configure and make the package.
39 compile_rules()
40 {
41 # Package "libpthread-stubs" no more needs:
42 # our platform already supply all the necessary pthread stubs.
43 sed -i "s|pthread-stubs||" $src/configure.ac
45 autoreconf -fi &&
46 ./configure \
47 --enable-xinput \
48 --enable-xprint \
49 --disable-static \
50 --docdir='${datadir}'/doc/$PACKAGE-$VERSION \
51 $CONFIGURE_ARGS &&
52 make &&
53 make DESTDIR=$DESTDIR install
54 }
56 # Rules to gen a SliTaz package suitable for Tazpkg.
57 genpkg_rules()
58 {
59 cook_copy_files *.so*
60 }