# SliTaz package receipt.

PACKAGE="expect"
VERSION="5.45.4"
CATEGORY="utilities"
SHORT_DESC="A tool for automating interactive applications."
MAINTAINER="samuel_trassare@yahoo.com"
WEB_SITE="http://expect.sourceforge.net"
TARBALL="$PACKAGE$VERSION.tar.gz"
WGET_URL="http://sourceforge.net/projects/$PACKAGE/files/Expect/$VERSION/$TARBALL"

DEPENDS="tcl"
BUILD_DEPENDS="tcl-dev"

# Rules to configure and make the package.
compile_rules()
{
	./configure $CONFIGURE_ARGS &&
	make &&
	make DESTDIR=$install install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
	mkdir -p $fs/usr/bin \
		$fs/usr/lib
		
	cp -a $install/usr/bin/expect  $fs/usr/bin
	cp -a $install/usr/lib/* $fs/usr/lib
}