homebrew-core/Formula/yash.rb
2019-06-18 08:24:31 +02:00

36 lines
1.1 KiB
Ruby

class Yash < Formula
desc "Yet another shell: a POSIX-compliant command-line shell"
homepage "https://yash.osdn.jp/"
# Canonical: https://osdn.net/dl/yash/yash-*
url "https://dotsrc.dl.osdn.net/osdn/yash/69353/yash-2.47.tar.xz"
sha256 "931f2e7451d8b1eca2a98caeef7eda0527d96376f9f2c9bec90bc5938e39992e"
revision 1
bottle do
sha256 "21b9fe172294391e52d14a6def4196d7348555a2567077090ee858175dd953ee" => :mojave
sha256 "01618cb1cf1c5c93500769c5b456d59094dc1502aaa75dd38cd318b68eecef9e" => :high_sierra
sha256 "0617778d65554225c7fff2baa26b6cffa872669cf490744bc63f8a990b655551" => :sierra
end
depends_on "gettext"
def install
system "sh", "./configure",
"--prefix=#{prefix}",
"--enable-array",
"--enable-dirstack",
"--enable-help",
"--enable-history",
"--enable-lineedit",
"--enable-nls",
"--enable-printf",
"--enable-socket",
"--enable-test",
"--enable-ulimit"
system "make", "install"
end
test do
system "#{bin}/yash", "-c", "echo hello world"
end
end