btpd: fix for system openssl linkage

^

Closes Homebrew/homebrew#36574.

Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Dominyk Tiller 2015-02-05 21:34:57 +00:00 committed by Mike McQuaid
parent dff1597612
commit 988664241f

View file

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