btpd: fix for system openssl linkage
^ Closes Homebrew/homebrew#36574. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
dff1597612
commit
988664241f
1 changed files with 11 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue