# SliTaz package receipt.

PACKAGE="ratpoison"
VERSION="1.4.5"
CATEGORY="x-window"
SHORT_DESC="Ratpoison is an extremely light-weightWM using only keyboard."
MAINTAINER="gokhlayeh@slitaz.org"
DEPENDS="microperl xorg-libXtst xorg-libXinerama"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.nongnu.org/ratpoison/"
WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure && make CFLAGS="$CFLAGS -DHAVE_GETLINE" && make 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/ratpoison $fs/usr/share
}