2014-10-27 18:06:08 +00:00
|
|
|
class Yash < Formula
|
2015-05-29 14:27:34 +00:00
|
|
|
desc "Yash, yet another shell, is a POSIX-compliant command-line shell"
|
|
|
|
homepage "http://yash.osdn.jp"
|
|
|
|
url "http://dl.osdn.jp/yash/62651/yash-2.37.tar.gz"
|
|
|
|
sha256 "b976692de245ad3fb17bf87eb8b2e4c9bba4537e3820d488624c868e7408faaa"
|
2014-10-27 18:06:08 +00:00
|
|
|
|
2014-10-27 18:21:52 +00:00
|
|
|
bottle do
|
|
|
|
cellar :any
|
2015-04-14 12:05:54 +00:00
|
|
|
sha256 "e155165566942ee1bde9cd71ef246ef0454befb2e5b23e43ac1eaca007fc8b46" => :yosemite
|
|
|
|
sha256 "469eacccbb09edd965b099476fb616e8e3ecd10071f24c654ac525bde2e65721" => :mavericks
|
|
|
|
sha256 "93538457f7f06a70634be8d1242bae4adb99ff3aac2518ae14b903fd987755ca" => :mountain_lion
|
2014-10-27 18:21:52 +00:00
|
|
|
end
|
|
|
|
|
2014-10-27 18:06:08 +00:00
|
|
|
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
|