# SliTaz package receipt.

PACKAGE="gpm"
VERSION="1.20.6"
CATEGORY="misc"
SHORT_DESC="Mouse server for console."
MAINTAINER="pascal.bellard@slitaz.org"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://unix.schottelius.org/$PACKAGE"
WGET_URL="http://www.nico.schottelius.org/software/$PACKAGE/archives/$TARBALL"
BUILD_DEPENDS="gawk bison"
DEPENDS="ncurses"

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

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