# HG changeset patch # User toronado # Date 1329606739 28800 # Node ID d1b57a67e58d4c8f26c70c36c9352fae0f09585f # Parent fbbc15b4cd16f0c6b976fb62fac53f2ed7496047 added Expect diff -r fbbc15b4cd16 -r d1b57a67e58d expect/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/expect/description.txt Sat Feb 18 15:12:19 2012 -0800 @@ -0,0 +1,4 @@ +Expect is a tool for automating interactive applications such as telnet, ftp, +passwd, fsck, rlogin, tip, etc. Expect really makes this stuff trivial. Expect +is also useful for testing these same applications. And by adding Tk, you can +also wrap interactive applications in X11 GUIs. diff -r fbbc15b4cd16 -r d1b57a67e58d expect/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/expect/receipt Sat Feb 18 15:12:19 2012 -0800 @@ -0,0 +1,31 @@ +# SliTaz package receipt. + +PACKAGE="expect" +VERSION="5.45" +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 +}