# SliTaz package receipt.

PACKAGE="xcb-proto"
VERSION="1.14.1"
CATEGORY="x-window"
SHORT_DESC="XCB protocol."
MAINTAINER="mallory@sweetpeople.org"
DEPENDS="python"
BUILD_DEPENDS="python-dev"
TARBALL="$PACKAGE-$VERSION.tar.xz"
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=$PWD/_pkg install
}

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