stellar-core 9.1.0 (new formula)
Closes #24443. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
a5373ab96b
commit
0a9b758ab5
1 changed files with 29 additions and 0 deletions
29
Formula/stellar-core.rb
Normal file
29
Formula/stellar-core.rb
Normal file
|
@ -0,0 +1,29 @@
|
|||
class StellarCore < Formula
|
||||
desc "The backbone of the Stellar (XLM) network"
|
||||
homepage "https://www.stellar.org/"
|
||||
url "https://github.com/stellar/stellar-core.git",
|
||||
:tag => "v9.1.0",
|
||||
:revision => "a278e95978bdac6d1015d82f4859dad780e752d3"
|
||||
head "https://github.com/stellar/stellar-core.git"
|
||||
|
||||
depends_on "autoconf" => :build
|
||||
depends_on "automake" => :build
|
||||
depends_on "libtool" => :build
|
||||
depends_on "pkg-config" => :build
|
||||
depends_on "libsodium"
|
||||
depends_on "postgresql"
|
||||
|
||||
def install
|
||||
system "./autogen.sh"
|
||||
system "./configure", "--disable-debug",
|
||||
"--disable-dependency-tracking",
|
||||
"--disable-silent-rules",
|
||||
"--prefix=#{prefix}",
|
||||
"--enable-postgres"
|
||||
system "make", "install"
|
||||
end
|
||||
|
||||
test do
|
||||
system "#{bin}/stellar-core", "--test", "'[bucket],[crypto],[herder],[upgrades],[accountsubentriescount],[bucketlistconsistent],[cacheisconsistent],[fs]'"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue