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"
|
|
|
|
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
|