summaryrefslogtreecommitdiff
path: root/homebrew/expect
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/expect
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/expect')
-rw-r--r--homebrew/expect/.beer42
-rw-r--r--homebrew/expect/.make.sh-auto8
-rw-r--r--homebrew/expect/_metadata/description1
-rw-r--r--homebrew/expect/_metadata/homepage1
-rw-r--r--homebrew/expect/_metadata/name1
-rw-r--r--homebrew/expect/_metadata/version1
-rwxr-xr-xhomebrew/expect/download.sh1
7 files changed, 55 insertions, 0 deletions
diff --git a/homebrew/expect/.beer b/homebrew/expect/.beer
new file mode 100644
index 000000000..3529c6626
--- /dev/null
+++ b/homebrew/expect/.beer
@@ -0,0 +1,42 @@
+{
+ "name": "Expect",
+ "description": "Program that can automate interactive applications",
+ "url": "https://downloads.sourceforge.net/project/expect/Expect/5.45.4/expect5.45.4.tar.gz",
+ "mirror": null,
+ "homepage": "https://expect.sourceforge.io/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "args = %W[",
+ "--prefix=#{prefix}",
+ "--exec-prefix=#{prefix}",
+ "--mandir=#{man}",
+ "--enable-shared",
+ "--enable-64bit",
+ "--with-tcl=#{MacOS.sdk_path}/System/Library/Frameworks/Tcl.framework",
+ "]",
+ "ENV.prepend \"CFLAGS\", \"-I#{MacOS.sdk_path}/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers/tcl-private\"",
+ "system \"autoreconf\", \"--force\", \"--install\", \"--verbose\"",
+ "system \"./configure\", *args",
+ "system \"make\"",
+ "system \"make\", \"install\"",
+ "lib.install_symlink Dir[lib/\"expect*/libexpect*\"]"
+ ],
+ "version": "5.45.4",
+ "file": "expect.rb"
+} \ No newline at end of file
diff --git a/homebrew/expect/.make.sh-auto b/homebrew/expect/.make.sh-auto
new file mode 100644
index 000000000..601967751
--- /dev/null
+++ b/homebrew/expect/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+args = %W[--prefix=#{prefix} --exec-prefix=#{prefix} --mandir=#{man} --enable-shared --enable-64bit --with-tcl=#{MacOS.sdk_path}/System/Library/Frameworks/Tcl.framework ]
+ENV.prepend "CFLAGS", "-I#{MacOS.sdk_path}/System/Library/Frameworks/Tcl.framework/Versions/8.5/Headers/tcl-private"
+autoreconf --force --install --verbose
+pkg:configure *args
+make
+make DESTDIR=${PKG_DEST} install
+lib.install_symlink Dir[lib/"expect*/libexpect*"]
diff --git a/homebrew/expect/_metadata/description b/homebrew/expect/_metadata/description
new file mode 100644
index 000000000..9bec0cb69
--- /dev/null
+++ b/homebrew/expect/_metadata/description
@@ -0,0 +1 @@
+Program that can automate interactive applications
diff --git a/homebrew/expect/_metadata/homepage b/homebrew/expect/_metadata/homepage
new file mode 100644
index 000000000..01f58e219
--- /dev/null
+++ b/homebrew/expect/_metadata/homepage
@@ -0,0 +1 @@
+https://expect.sourceforge.io/
diff --git a/homebrew/expect/_metadata/name b/homebrew/expect/_metadata/name
new file mode 100644
index 000000000..3519450ab
--- /dev/null
+++ b/homebrew/expect/_metadata/name
@@ -0,0 +1 @@
+Expect
diff --git a/homebrew/expect/_metadata/version b/homebrew/expect/_metadata/version
new file mode 100644
index 000000000..a637ab285
--- /dev/null
+++ b/homebrew/expect/_metadata/version
@@ -0,0 +1 @@
+5.45.4
diff --git a/homebrew/expect/download.sh b/homebrew/expect/download.sh
new file mode 100755
index 000000000..cf06c53b6
--- /dev/null
+++ b/homebrew/expect/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/expect/Expect/5.45.4/expect5.45.4.tar.gz \ No newline at end of file