wok-6.x annotate libxcb/receipt @ rev 2960
libxcb: Avoid dep on xcb-proto/python
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri May 08 23:10:31 2009 +0200 (2009-05-08) |
parents | 583bdd691510 |
children | 9bacc5bdae08 |
rev | line source |
---|---|
mallory@2685 | 1 # SliTaz package receipt. |
mallory@2685 | 2 |
mallory@2685 | 3 PACKAGE="libxcb" |
mallory@2685 | 4 VERSION="1.2" |
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" |
pascal@2752 | 11 BUILD_DEPENDS="xcb-proto pkg-config xorg-libXau-dev libpthread-stubs" |
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 |
mallory@2685 | 20 ./configure \ |
mallory@2685 | 21 --prefix=/usr \ |
mallory@2685 | 22 --infodir=/usr/share/info \ |
mallory@2685 | 23 --mandir=/usr/share/man \ |
mallory@2685 | 24 $CONFIGURE_ARGS && |
mallory@2685 | 25 make && make DESTDIR=$PWD/_pkg install |
mallory@2685 | 26 } |
mallory@2685 | 27 |
mallory@2685 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2685 | 29 genpkg_rules() |
mallory@2685 | 30 { |
mallory@2685 | 31 mkdir -p $fs/usr/lib |
mallory@2685 | 32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
mallory@2685 | 33 } |
mallory@2685 | 34 |