wok-next view xorg-libxcb/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents f48456621a9d
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xorg-libxcb"
4 VERSION="1.13"
5 CATEGORY="x-window"
6 SHORT_DESC="A C binding to the X11 protocol"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://xcb.freedesktop.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/libxcb.html"
11 REPOLOGY="libxcb"
13 TARBALL="libxcb-$VERSION.tar.bz2"
14 WGET_URL="$XORG_MIRROR/xcb/$TARBALL"
16 BUILD_DEPENDS="xorg-util-macros libxslt-dev xorg-xcb-proto xorg-libXau-dev \
17 xorg-libXdmcp-dev autoconf automake libtool"
18 SPLIT="$PACKAGE-dev"
20 compile_rules() {
21 # Package "libpthread-stubs" no more needed:
22 # our platform already supply all the necessary pthread stubs.
23 sed -i "s|pthread-stubs||" $src/configure.ac
25 autoreconf -fi &&
26 ./configure \
27 --enable-xinput \
28 --enable-xprint \
29 --docdir='${datadir}'/doc/$PACKAGE-$VERSION \
30 $CONFIGURE_ARGS &&
31 fix libtool &&
32 make &&
33 make DESTDIR=$install install
34 }
36 genpkg_rules() {
37 case $PACKAGE in
38 *-libxcb)
39 copy @std
40 DEPENDS="xorg-libXau xorg-libXdmcp"
41 ;;
42 *-dev)
43 copy @dev
44 DEPENDS="xorg-libxcb xorg-libXau-dev xorg-libXdmcp-dev"
45 ;;
46 esac
47 }