wok view libxcb/receipt @ rev 14595
libxcb: have no version 1.9.1
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 27 18:54:02 2013 +0000 (2013-05-27) |
parents | f15c857e3e67 |
children | a09e9d64e4c9 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libxcb"
4 VERSION="1.9"
5 CATEGORY="x-window"
6 SHORT_DESC="A C binding to the X11 protocol"
7 MAINTAINER="mallory@sweetpeople.org"
8 LICENSE="other"
9 WEB_SITE="http://xcb.freedesktop.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="${WEB_SITE}dist/$TARBALL"
13 DEPENDS="glibc-base xorg-libXau xorg-libXdmcp"
14 # autoconf and automake in bdeps breaks build (but, see warnings in log)
15 BUILD_DEPENDS="libxslt-dev xcb-proto xorg-libXau-dev xorg-libXdmcp-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # http://www.linuxfromscratch.org/blfs/view/svn/x/libxcb.html
21 sed -i "s|pthread-stubs||" $src/configure.ac &&
22 ./configure \
23 --enable-xinput \
24 --disable-build-docs \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p \
34 $fs/usr/lib \
35 $fs/usr/share/licenses
36 cp -a $install/usr/lib/*.so* $fs/usr/lib
37 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
38 }