# SliTaz package receipt.

PACKAGE="xorg-xwininfo"
VERSION="1.1.5"
CATEGORY="x-window"
SHORT_DESC="window information utility to query x-server"
MAINTAINER="jozee@slitaz.org"
SOURCE="xwininfo"
TARBALL="$SOURCE-$VERSION.tar.bz2"
DEPENDS="libxcb xorg-libX11"
BUILD_DEPENDS="libxcb-dev xorg-libX11-dev"
WEB_SITE="http://xorg.freedesktop.org/"
WGET_URL="$WEB_SITE/releases/individual/app/$TARBALL"
TAGS="util xorg windows"

# Rules to configure and make the package.ls sr	
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--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
	cp -a $_pkg/usr/bin $fs/usr	
}