homebrew-core/Formula/btpd.rb

27 lines
749 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"
sha1 "fb7d396ed5c224dc6e743ac481e4feb4a3cf7b75"
2015-02-05 21:49:21 +00:00
bottle do
cellar :any
sha1 "4d71a2e91abdcd9040d0941fe72d7a19af3c35e5" => :yosemite
sha1 "bca4ea6ffeed653d4aa86d6128c8a1f84aafd0b2" => :mavericks
sha1 "b775479e515592aff7253ff6a0b804aec661e777" => :mountain_lion
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