b12f1eaf7c
Updated to the latest stable release v1.2.5. EJDB build system migrated to CMake. Closes Homebrew/homebrew#38127. Signed-off-by: Brett Koonce <koonce@gmail.com>
16 lines
455 B
Ruby
16 lines
455 B
Ruby
class Ejdb < Formula
|
|
homepage "http://ejdb.org"
|
|
url "https://github.com/Softmotions/ejdb/archive/v1.2.5.tar.gz"
|
|
sha256 "31bbfefed5f892be84aa7748e84ffa0f5645654d4919d2be0f0e25f3fe62638b"
|
|
|
|
depends_on "cmake" => :build
|
|
|
|
def install
|
|
cmake_args = std_cmake_args - %w{-DCMAKE_BUILD_TYPE=None}
|
|
cmake_args << "-DCMAKE_BUILD_TYPE=Release"
|
|
mkdir "build" do
|
|
system "cmake", "..", *cmake_args
|
|
system "make install"
|
|
end
|
|
end
|
|
end
|