wok annotate libxcb/receipt @ rev 9178

couchdb: add pre and post remove functions
author Claudinei Pereira <claudinei@slitaz.org>
date Wed Mar 09 00:20:12 2011 +0000 (2011-03-09)
parents 1b46a1e8145f
children 45b4c06dfa05
rev   line source
mallory@2685 1 # SliTaz package receipt.
mallory@2685 2
mallory@2685 3 PACKAGE="libxcb"
slaxemulator@6452 4 VERSION="1.7"
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
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