homebrew-core/Formula/btpd.rb

27 lines
853 B
Ruby
Raw Normal View History

2011-03-10 05:11:03 +00:00
class Btpd < Formula
desc "BitTorrent protocol daemon"
homepage "https://github.com/btpd/btpd"
url "https://github.com/downloads/btpd/btpd/btpd-0.16.tar.gz"
sha256 "296bdb718eaba9ca938bee56f0976622006c956980ab7fc7a339530d88f51eb8"
2015-02-05 21:49:21 +00:00
bottle do
cellar :any
2015-11-19 15:45:31 +00:00
sha256 "382f8e3ec6e514f5a5116b562c82e0f3b2ae786b625ba08ab222fe7db9a4bcff" => :yosemite
sha256 "62a5bcf9db33b7b543053ce0a7d6ce4ed1fdfc43c9fca2500adc289c8bf34dc8" => :mavericks
sha256 "c28477c4d39f288aeb979007ea65b933bc135de3b98182b4c81051e9baf1bf99" => :mountain_lion
2015-02-05 21:49:21 +00:00
end
revision 1
depends_on "openssl"
def install
2013-01-27 02:00:39 +00:00
system "./configure", "--disable-dependency-tracking",
"--prefix=#{prefix}"
system "make", "install"
end
test do
assert_match /Torrents can be specified/, pipe_output("#{bin}/btcli --help 2>&1")
end
end