# SliTaz package receipt.

PACKAGE="xcb-util"
VERSION="0.4.0"
CATEGORY="x-window"
SHORT_DESC="XCB Utilites"
MAINTAINER="mallory@sweetpeople.org"
DEPENDS="libxcb xorg-libXdmcp"
BUILD_DEPENDS="xorg-libXau-dev xorg-libXdmcp-dev libxcb-dev gperf"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://xcb.freedesktop.org"
WGET_URL="$WEB_SITE/dist/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man \
		$CONFIGURE_ARGS &&
	make && make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/lib 
	cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
}