# SliTaz package receipt.

PACKAGE="xcb-util-renderutil"
VERSION="0.3.9"
CATEGORY="x-window"
SHORT_DESC="Utility libraries for XCB - renderutil library for XCB"
MAINTAINER="shann@slitaz.org"
DEPENDS="libxcb xcb-util"
BUILD_DEPENDS="libxcb-dev xorg-libXdmcp-dev xorg-libXau-dev xcb-util-dev"
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
}