wok-current annotate libxcb/receipt @ rev 12942

libxcb: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 30 17:31:03 2012 +0200 (2012-05-30)
parents 45b4c06dfa05
children f15c857e3e67
rev   line source
mallory@2685 1 # SliTaz package receipt.
mallory@2685 2
mallory@2685 3 PACKAGE="libxcb"
slaxemulator@12932 4 VERSION="1.8.1"
mallory@2685 5 CATEGORY="x-window"
pankso@2960 6 SHORT_DESC="The X protocol C-language Binding (XCB) is a replacement for \
pankso@2960 7 Xlib featuring a small footprint, latency hiding, direct access to the \
pankso@2960 8 protocol, improved threading support, and extensibility."
mallory@2685 9 MAINTAINER="mallory@sweetpeople.org"
pankso@2960 10 DEPENDS="xorg-libXau xorg-libXdmcp"
slaxemulator@8029 11 BUILD_DEPENDS="xcb-proto libxslt-dev pkg-config libpthread-stubs xorg-libXau-dev xorg-libXdmcp-dev"
mallory@2685 12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
mallory@2685 13 WEB_SITE="http://xcb.freedesktop.org"
mallory@2685 14 WGET_URL="$WEB_SITE/dist/$TARBALL"
mallory@2685 15
mallory@2685 16 # Rules to configure and make the package.
mallory@2685 17 compile_rules()
mallory@2685 18 {
mallory@2685 19 cd $src
pascal@12942 20 ./configure \
slaxemulator@12932 21 --enable-xinput \
mallory@2685 22 $CONFIGURE_ARGS &&
slaxemulator@12932 23 make && make DESTDIR=$DESTDIR install
mallory@2685 24 }
mallory@2685 25
mallory@2685 26 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@2685 27 genpkg_rules()
mallory@2685 28 {
slaxemulator@12932 29 mkdir -p $fs/usr/lib
mallory@2685 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
mallory@2685 31 }
mallory@2685 32