homebrew-core/Formula/ejdb.rb
Anton Adamansky b12f1eaf7c ejdb 1.2.5
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>
2015-03-29 22:14:24 -07:00

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