wok-next view xorg-libxcb/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | 5e1a101ad0eb |
children | cd7906120828 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-libxcb"
4 VERSION="1.12"
5 CATEGORY="x-window"
6 SHORT_DESC="A C binding to the X11 protocol"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://xcb.freedesktop.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/libxcb.html"
12 TARBALL="libxcb-$VERSION.tar.bz2"
13 WGET_URL="$XORG_MIRROR/xcb/$TARBALL"
15 BUILD_DEPENDS="libxslt-dev xorg-xcb-proto xorg-libXau-dev xorg-libXdmcp-dev \
16 autoconf automake libtool"
17 SPLIT="xorg-libxcb-dev"
19 # Handle SliTaz arch
20 case "$SLITAZ_ARCH" in
21 arm*) VERSION="1.9.1";;
22 esac
23 case "$ARCH" in
24 arm*) # We need host xorg-xcb-proto libxslt-dev file installed
25 VERSION="1.9.1"
26 TARBALL="libxcb-$VERSION.tar.bz2"
27 WGET_URL="https://xcb.freedesktop.org/dist/$TARBALL"
28 BUILD_DEPENDS="libxslt-dev xorg-xcb-proto xorg-libXau-dev xorg-libXdmcp-dev"
29 ;;
30 esac
32 compile_rules() {
33 # Package "libpthread-stubs" no more needed:
34 # our platform already supply all the necessary pthread stubs.
35 sed -i "s|pthread-stubs||" $src/configure.ac
37 autoreconf -fi &&
38 ./configure \
39 --enable-xinput \
40 --enable-xprint \
41 --docdir='${datadir}'/doc/$PACKAGE-$VERSION \
42 $CONFIGURE_ARGS &&
43 fix libtool &&
44 make &&
45 make DESTDIR=$DESTDIR install
46 }
48 genpkg_rules() {
49 case $PACKAGE in
50 *-libxcb)
51 copy @std
52 DEPENDS="xorg-libXau xorg-libXdmcp"
53 ;;
54 *-dev)
55 copy @dev
56 DEPENDS="xorg-libxcb xorg-libXau-dev xorg-libXdmcp-dev"
57 ;;
58 esac
59 }