homebrew-core/Formula/tal.rb
2017-03-29 04:34:29 -07:00

26 lines
1.1 KiB
Ruby

class Tal < Formula
desc "Align line endings if they match"
# The canonical url currently returns HTTP/1.1 500 Internal Server Error.
homepage "https://web.archive.org/web/20160406172703/https://thomasjensen.com/software/tal/"
url "https://www.mirrorservice.org/sites/download.salixos.org/x86_64/extra-14.2/source/misc/tal/tal-1.9.tar.gz"
mirror "https://web.archive.org/web/20160406172703/https://thomasjensen.com/software/tal/tal-1.9.tar.gz"
sha256 "5d450cee7162c6939811bca945eb475e771efe5bd6a08b520661d91a6165bb4c"
bottle do
cellar :any_skip_relocation
sha256 "9c2c4e5f9d6922f9a9d434485dea4ddf321744728c83adcda822c3c314f6a86e" => :sierra
sha256 "bbdef6b2c92650352b7199cc2a9e3bc4698bf2a14fce46397eebcee72c1de419" => :el_capitan
sha256 "e6b6f315bc14f5e001893371d18fb0ba88bea4c4d76dd657820eecf509103f9e" => :yosemite
sha256 "26945b8471e2731ce34604a19f8bdb046770d961422969999a789168aa7ee25b" => :mavericks
end
def install
system "make", "linux"
bin.install "tal"
man1.install "tal.1"
end
test do
system "#{bin}/tal", "/etc/passwd"
end
end