wok rev 11698
added Expect
author | toronado |
---|---|
date | Sat Feb 18 15:12:19 2012 -0800 (2012-02-18) |
parents | fbbc15b4cd16 |
children | 0521bd35c5db 0cd4d6be35f5 |
files | expect/description.txt expect/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/expect/description.txt Sat Feb 18 15:12:19 2012 -0800 1.3 @@ -0,0 +1,4 @@ 1.4 +Expect is a tool for automating interactive applications such as telnet, ftp, 1.5 +passwd, fsck, rlogin, tip, etc. Expect really makes this stuff trivial. Expect 1.6 +is also useful for testing these same applications. And by adding Tk, you can 1.7 +also wrap interactive applications in X11 GUIs.
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/expect/receipt Sat Feb 18 15:12:19 2012 -0800 2.3 @@ -0,0 +1,31 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="expect" 2.7 +VERSION="5.45" 2.8 +CATEGORY="utilities" 2.9 +SHORT_DESC="A tool for automating interactive applications." 2.10 +MAINTAINER="samuel_trassare@yahoo.com" 2.11 +WEB_SITE="http://expect.sourceforge.net" 2.12 +TARBALL="$PACKAGE$VERSION.tar.gz" 2.13 +WGET_URL="http://sourceforge.net/projects/$PACKAGE/files/Expect/$VERSION/$TARBALL" 2.14 + 2.15 +DEPENDS="tcl" 2.16 +BUILD_DEPENDS="tcl-dev" 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + ./configure $CONFIGURE_ARGS && 2.22 + make && 2.23 + make DESTDIR=$install install 2.24 +} 2.25 + 2.26 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.27 +genpkg_rules() 2.28 +{ 2.29 + mkdir -p $fs/usr/bin \ 2.30 + $fs/usr/lib 2.31 + 2.32 + cp -a $install/usr/bin/expect $fs/usr/bin 2.33 + cp -a $install/usr/lib/* $fs/usr/lib 2.34 +}