2011-03-10 05:11:03 +00:00
|
|
|
class Btpd < Formula
|
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"
|
|
|
|
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
|
|
|
|
|
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
|