libbitcoin-client: depend on libbitcoin-protocol

remove libbitcoin and zeromq dependencies
This commit is contained in:
Sam Jones 2018-05-13 22:40:01 -04:00 committed by ilovezfs
parent 85a457b7bd
commit 2b6ae9933a

View file

@ -3,6 +3,7 @@ class LibbitcoinClient < Formula
homepage "https://github.com/libbitcoin/libbitcoin-client"
url "https://github.com/libbitcoin/libbitcoin-client/archive/v3.5.0.tar.gz"
sha256 "bafa26647f334ecad04fc4bbef507a1954d7e0682f07bd38b90ab66dba5fe0d2"
revision 1
bottle do
cellar :any
@ -15,25 +16,10 @@ class LibbitcoinClient < Formula
depends_on "automake" => :build
depends_on "libtool" => :build
depends_on "pkg-config" => :build
depends_on "libbitcoin"
depends_on "zeromq"
resource "libbitcoin-protocol" do
url "https://github.com/libbitcoin/libbitcoin-protocol/archive/v3.5.0.tar.gz"
sha256 "9deac6908489e2d59fb9f89c895c49b00e01902d5fdb661f67d4dbe45b22af76"
end
depends_on "libbitcoin-protocol"
def install
ENV.prepend_path "PKG_CONFIG_PATH", Formula["libbitcoin"].opt_libexec/"lib/pkgconfig"
ENV.prepend_create_path "PKG_CONFIG_PATH", libexec/"lib/pkgconfig"
resource("libbitcoin-protocol").stage do
system "./autogen.sh"
system "./configure", "--disable-dependency-tracking",
"--disable-silent-rules",
"--prefix=#{libexec}"
system "make", "install"
end
system "./autogen.sh"
system "./configure", "--disable-dependency-tracking",