libbitcoin-node (new dependency)
This commit is contained in:
parent
e18eadd433
commit
8b4fc2edf3
1 changed files with 2 additions and 15 deletions
|
@ -3,6 +3,7 @@ class LibbitcoinNode < Formula
|
|||
homepage "https://github.com/libbitcoin/libbitcoin-node"
|
||||
url "https://github.com/libbitcoin/libbitcoin-node/archive/v3.5.0.tar.gz"
|
||||
sha256 "e3a0a96155ca93aa6cba75789c18419f40686a69cbd40c77aa77ca84ccc43cab"
|
||||
revision 1
|
||||
|
||||
bottle do
|
||||
sha256 "1b922407cddc74d2bff6f39e61e6545cbab4e7e65b55ad84abe6224b2c39da49" => :high_sierra
|
||||
|
@ -15,24 +16,10 @@ class LibbitcoinNode < Formula
|
|||
depends_on "libtool" => :build
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "libbitcoin-blockchain"
|
||||
|
||||
resource "libbitcoin-network" do
|
||||
url "https://github.com/libbitcoin/libbitcoin-network/archive/v3.5.0.tar.gz"
|
||||
sha256 "e065bd95f64ad5d7b0f882e8759f6b0f81a5fb08f7e971d80f3592a1b5aa8db4"
|
||||
end
|
||||
depends_on "libbitcoin-network"
|
||||
|
||||
def install
|
||||
ENV.prepend_path "PKG_CONFIG_PATH", Formula["libbitcoin"].opt_libexec/"lib/pkgconfig"
|
||||
ENV.prepend_path "PKG_CONFIG_PATH", Formula["libbitcoin-blockchain"].opt_libexec/"lib/pkgconfig"
|
||||
ENV.prepend_create_path "PKG_CONFIG_PATH", libexec/"lib/pkgconfig"
|
||||
|
||||
resource("libbitcoin-network").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",
|
||||
|
|
Loading…
Reference in a new issue