# SliTaz package receipt.

PACKAGE="echinus"
VERSION="0.4.0"
CATEGORY="x-window"
SHORT_DESC="A window manager for X in the spirit of dwm"
MAINTAINER="devl547@gmail.com"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.rootshell.be/~polachok/code/"
WGET_URL="$WEB_SITE/$TARBALL"
BUILD_DEPENDS="xorg-libX11-dev xorg-libXft-dev xorg-libXrandr-dev"
DEPENDS="xorg-libX11 xorg-libXft"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	cp $stuff/config.mk config.mk
	make &&
	make DESTDIR=$PWD/_pkg install
}

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