wok-next view xorg-libxcb/receipt @ rev 20449
xcb-proto is obsolete -> xorg-xcb-proto
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 14:08:05 2018 +0200 (2018-02-28) |
parents | 7639f09792cf |
children | 757d032c55c7 |
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 fix ld
38 autoreconf -fi &&
39 ./configure \
40 --enable-xinput \
41 --enable-xprint \
42 --docdir='${datadir}'/doc/$PACKAGE-$VERSION \
43 $CONFIGURE_ARGS &&
44 fix libtool &&
45 make &&
46 make DESTDIR=$DESTDIR install
47 }
49 genpkg_rules() {
50 case $PACKAGE in
51 *-libxcb)
52 copy @std
53 DEPENDS="xorg-libXau xorg-libXdmcp"
54 ;;
55 *-dev)
56 copy @dev
57 DEPENDS="xorg-libxcb xorg-libXau-dev xorg-libXdmcp-dev"
58 ;;
59 esac
60 }