# SliTaz package receipt.

PACKAGE="gxmessage"
VERSION="2.6.2"
CATEGORY="utilities"
SHORT_DESC="GTK2-based clone of xmessage"
MAINTAINER="erjo@slitaz.org"
DEPENDS="gtk+ expat xorg-libXdamage"
BUILD_DEPENDS="gtk+-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://homepages.ihug.co.nz/~trmusson/programs.html#gxmessage"
WGET_URL="http://homepages.ihug.co.nz/~trmusson/stuff/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure --prefix=/usr $CONFIGURE_ARGS && \
	make 
}

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