2011-03-10 05:11:03 +00:00
|
|
|
class Btpd < Formula
|
2015-05-19 00:00:59 +00:00
|
|
|
desc "BitTorrent protocol daemon"
|
2015-02-05 21:34:57 +00:00
|
|
|
homepage "https://github.com/btpd/btpd"
|
|
|
|
url "https://github.com/downloads/btpd/btpd/btpd-0.16.tar.gz"
|
2015-08-03 12:55:31 +00:00
|
|
|
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
|
|
|
|
|
2015-02-05 21:34:57 +00:00
|
|
|
revision 1
|
|
|
|
|
|
|
|
depends_on "openssl"
|
2010-05-15 03:59:34 +00:00
|
|
|
|
|
|
|
def install
|
2013-01-27 02:00:39 +00:00
|
|
|
system "./configure", "--disable-dependency-tracking",
|
|
|
|
"--prefix=#{prefix}"
|
2015-02-05 21:34:57 +00:00
|
|
|
system "make", "install"
|
|
|
|
end
|
|
|
|
|
|
|
|
test do
|
|
|
|
assert_match /Torrents can be specified/, pipe_output("#{bin}/btcli --help 2>&1")
|
2010-05-15 03:59:34 +00:00
|
|
|
end
|
|
|
|
end
|