95884bae22
Closes Homebrew/homebrew#42407. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
12 lines
500 B
Ruby
12 lines
500 B
Ruby
class Torrentcheck < Formula
|
|
desc "Command-line torrent viewer and hash checker"
|
|
homepage "http://torrentcheck.sourceforge.net/"
|
|
url "https://downloads.sourceforge.net/project/torrentcheck/torrentcheck-1.00.zip"
|
|
sha256 "a839f9ac9669d942f83af33db96ce9902d84f85592c99b568ef0f5232ff318c5"
|
|
|
|
def install
|
|
inreplace "torrentcheck.c", "#include <malloc.h>", ""
|
|
system ENV.cc, "torrentcheck.c", "sha1.c", "-o", "torrentcheck", *ENV.cflags.to_s.split
|
|
bin.install "torrentcheck"
|
|
end
|
|
end
|