wok-current annotate 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 |
rev | line source |
---|---|
mallory@2685 | 1 # SliTaz package receipt. |
mallory@2685 | 2 |
mallory@2685 | 3 PACKAGE="libxcb" |
al@14595 | 4 VERSION="1.9" |
mallory@2685 | 5 CATEGORY="x-window" |
al@14595 | 6 SHORT_DESC="A C binding to the X11 protocol" |
mallory@2685 | 7 MAINTAINER="mallory@sweetpeople.org" |
al@14595 | 8 LICENSE="other" |
al@14595 | 9 WEB_SITE="http://xcb.freedesktop.org/" |
mallory@2685 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@14595 | 11 WGET_URL="${WEB_SITE}dist/$TARBALL" |
al@14595 | 12 |
al@14595 | 13 DEPENDS="glibc-base xorg-libXau xorg-libXdmcp" |
al@14595 | 14 # autoconf and automake in bdeps breaks build (but, see warnings in log) |
al@14595 | 15 BUILD_DEPENDS="libxslt-dev xcb-proto xorg-libXau-dev xorg-libXdmcp-dev" |
mallory@2685 | 16 |
mallory@2685 | 17 # Rules to configure and make the package. |
mallory@2685 | 18 compile_rules() |
mallory@2685 | 19 { |
al@14595 | 20 # http://www.linuxfromscratch.org/blfs/view/svn/x/libxcb.html |
al@14595 | 21 sed -i "s|pthread-stubs||" $src/configure.ac && |
pascal@12942 | 22 ./configure \ |
slaxemulator@12932 | 23 --enable-xinput \ |
al@14595 | 24 --disable-build-docs \ |
mallory@2685 | 25 $CONFIGURE_ARGS && |
al@14595 | 26 make && |
al@14595 | 27 make DESTDIR=$DESTDIR install |
mallory@2685 | 28 } |
mallory@2685 | 29 |
mallory@2685 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2685 | 31 genpkg_rules() |
mallory@2685 | 32 { |
al@14595 | 33 mkdir -p \ |
al@14595 | 34 $fs/usr/lib \ |
al@14595 | 35 $fs/usr/share/licenses |
pascal@14566 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@14595 | 37 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt |
mallory@2685 | 38 } |
mallory@2685 | 39 |