Skip to contentSkip to conversation

expect: new package 5.45

PATCH Superseded Andrew Ruder 1 participant 1 message Mar 3, 2014

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 expect: new package 5.45

---

NOTE: This patch has only been tested as a dependency on the tcl 8.6.1 patch. If that patch is not acceptable, it may be worthwhile waiting on the tcl patch before applying this one.

 package/Config.in                                  |   1 +
 package/expect/Config.in                           |   8 ++
 .../expect-0001-cross-compile-defaults.patch       | 135 +++++++++++++++++++++
 package/expect/expect.mk                           |  21 ++++
 4 files changed, 165 insertions(+)
 create mode 100644 package/expect/Config.in
 create mode 100644 package/expect/expect-0001-cross-compile-defaults.patch
 create mode 100644 package/expect/expect.mk
package/Config.in +1 -0
index c099138..a57f1c3 100644
@@ -471,6 +471,7 @@ source "package/ruby/Config.in"
 source "package/tcl/Config.in"
 if BR2_PACKAGE_TCL
 menu "tcl libraries/modules"
+source "package/expect/Config.in"
 source "package/tcllib/Config.in"
 endmenu
 endif
package/expect/Config.in new file +8 -0
new file mode 100644
index 0000000..3540700
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_EXPECT
+	bool "expect"
+	depends on BR2_USE_MMU # fork()
+	help
+	  Expect is a tool for automating interactive applications
+	  such as telnet, ftp, passwd, fsck, rlogin, ssh, tip, etc.
+
+	  http://expect.sourceforge.net/
package/expect/expect-0001-cross-compile-defaults.patch new file +135 -0

135 lines not on this page · raw message

package/expect/expect.mk new file +21 -0
new file mode 100644
index 0000000..91fa019
@@ -0,0 +1,21 @@
+################################################################################
+#
+# expect
+#
+################################################################################
+
+EXPECT_VERSION = 5.45
+EXPECT_SOURCE = expect$(EXPECT_VERSION).tar.gz
+EXPECT_SITE = http://downloads.sourceforge.net/project/expect/Expect/$(EXPECT_VERSION)
+EXPECT_LICENSE = Public domain
+EXPECT_LICENSE_FILES = README
+
+EXPECT_AUTORECONF = YES
+EXPECT_DEPENDENCIES = tcl
+EXPECT_CONF_OPT = --with-tcl=$(BUILD_DIR)/tcl-$(TCL_VERSION)/unix
+
+# Since we don't want examples installed
+EXPECT_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR)  install-binaries
+
+$(eval $(autotools-package))
+
Signature · 1 line
1.9.0.rc3.12.gbc97e2d