homebrew-core/Formula/rush.rb

30 lines
1.2 KiB
Ruby

class Rush < Formula
desc "GNU's Restricted User SHell"
homepage "https://www.gnu.org/software/rush/"
url "https://ftp.gnu.org/gnu/rush/rush-2.1.tar.xz"
mirror "https://ftpmirror.gnu.org/rush/rush-2.1.tar.xz"
sha256 "c2ff487d44ce3d14854d0269eb0aa4c0f98bcca35390fad5ea52da75d9e4abdf"
license "GPL-3.0"
bottle do
sha256 arm64_big_sur: "e9969a26058fc567b5b5f342aabdc07a6c3ce7cebcf638e0b27a7dd4ef982a65"
sha256 big_sur: "c17a6969b3c949a756de8a5c60c8c916a485fffa6751aa8b365982ebfa66a676"
sha256 catalina: "a818df5c93d76a0a53c47108af3009a6d8265722d132204a636e29460693ac0d"
sha256 mojave: "5cdc9e464c7086e99e26063787dfefafd4805d90b0ea5aa40044b81f23d10db1"
sha256 high_sierra: "a76250fc5b34898050b9e18abd00dffbefd2c37dcd021b37d30bef75574abe49"
sha256 sierra: "55acb177bf3b6c2d041341b9a625ac10c6aba1237974febd66e40f1a7ec23319"
sha256 x86_64_linux: "96a630faaacc2f6a0c3751ff06b24fc9c33421215cddbf421f181e625f90449e"
end
def install
system "./configure", "--disable-debug",
"--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
test do
system "#{sbin}/rush", "-h"
end
end