From 988664241f1d039667bf2d58ebbf6ac04011fed0 Mon Sep 17 00:00:00 2001 From: Dominyk Tiller Date: Thu, 5 Feb 2015 21:34:57 +0000 Subject: [PATCH] btpd: fix for system openssl linkage ^ Closes Homebrew/homebrew#36574. Signed-off-by: Mike McQuaid --- Formula/btpd.rb | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/Formula/btpd.rb b/Formula/btpd.rb index a641e4fdef..811ca55e15 100644 --- a/Formula/btpd.rb +++ b/Formula/btpd.rb @@ -1,13 +1,18 @@ -require 'formula' - class Btpd < Formula - homepage 'https://github.com/btpd/btpd' - url 'https://github.com/downloads/btpd/btpd/btpd-0.16.tar.gz' - sha1 'fb7d396ed5c224dc6e743ac481e4feb4a3cf7b75' + 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" def install system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" - system "make install" + system "make", "install" + end + + test do + assert_match /Torrents can be specified/, pipe_output("#{bin}/btcli --help 2>&1") end end