# SliTaz package receipt.

PACKAGE="cmatrix"
VERSION="1.2a"
CATEGORY="misc"
SHORT_DESC="Matrix screensaver."
MAINTAINER="paul@slitaz.org"
DEPENDS="ncurses"
BUILD_DEPENDS="ncurses-dev"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="http://www.asty.org/cmatrix/"
WGET_URL="http://www.asty.org/cmatrix/dist/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
	cd $src
	./configure \
		--prefix=/usr \
		--infodir=/usr/share/info \
		--mandir=/usr/share/man \
		$CONFIGURE_ARGS &&
	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
}