# SliTaz package receipt.

PACKAGE="dzen2"
VERSION="0.8.5"
CATEGORY="utilities"
SHORT_DESC="A general purpose messaging and notification program. "
MAINTAINER="mallory@sweetpeople.org"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://gotmor.googlepages.com/dzen"
WGET_URL="http://gotmor.googlepages.com/$TARBALL"
DEPENDS="xorg-libX11 xorg-libXau xorg-libXdmcp"
TAGS="system monitor notification"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	sed -e 's/\/usr\/local/\/usr/' < config.mk > config.mk.slitaz
	mv config.mk.slitaz config.mk
	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/bin $fs/usr
}