# SliTaz package receipt.

PACKAGE="wmctrl"
VERSION="1.07"
CATEGORY="misc"
SHORT_DESC="Control your EWMH compliant window manager from command line"
MAINTAINER="jozee@slitaz.org"
DEPENDS="glib xorg-libICE xorg-libSM xorg-libX11 xorg-libXau xorg-libXdmcp \
xorg-libXext xorg-libXmu xorg-libXt"
BUILD_DEPENDS="glib-dev xorg-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://sweb.cz/tripie/utils/wmctrl/dist/" 
WGET_URL="$WEB_SITE/$TARBALL"
TAGS="wm window-manager desktop"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --prefix=/usr &&
	make &&
	make DESTDIR=$PWD/_pkg install
}

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