aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorRaphael Cohn2014-10-27 18:06:08 +0000
committerMike McQuaid2014-10-27 18:39:25 +0000
commit106386582e41930ebc1ddbc72a32b9d57380286e (patch)
tree05b1f2ba8b5dbf2ff96a1bd9d7ebe1344236c8f8 /Library/Formula
parent98a354321bba9851d8266e40d841ff284002b63f (diff)
downloadhomebrew-106386582e41930ebc1ddbc72a32b9d57380286e.tar.bz2
yash 2.36 (new formula)
yash, Yet Another Shell, is a modern shell aiming for full POSIX compliance.
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/yash.rb28
1 files changed, 28 insertions, 0 deletions
diff --git a/Library/Formula/yash.rb b/Library/Formula/yash.rb
new file mode 100644
index 000000000..24c080893
--- /dev/null
+++ b/Library/Formula/yash.rb
@@ -0,0 +1,28 @@
+require "formula"
+
+class Yash < Formula
+ homepage "http://yash.sourceforge.jp/"
+ url "http://dl.sourceforge.jp/yash/60930/yash-2.36.tar.xz"
+ sha1 "da034f893bf34e3851a93e8512f3fb027e59f0f5"
+
+ def install
+ system "sh", "./configure",
+ "--prefix=#{prefix}",
+ "--enable-alias",
+ "--enable-array",
+ "--enable-dirstack",
+ "--enable-help",
+ "--enable-history",
+ "--enable-lineedit",
+ "--disable-nls",
+ "--enable-printf",
+ "--enable-socket",
+ "--enable-test",
+ "--enable-ulimit"
+ system "make", "install"
+ end
+
+ test do
+ system "#{bin}/yash", "-c", "echo hello world"
+ end
+end