stellar-core 9.1.0 (new formula)

Closes #24443.

Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
Isaac Johnston 2018-02-23 13:02:34 +08:00 committed by FX Coudert
parent a5373ab96b
commit 0a9b758ab5

29
Formula/stellar-core.rb Normal file
View 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