aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/mbelib.rb
blob: 82f6a8e411e99607cca1942d34783817dc6a0a6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
require 'formula'

class Mbelib < Formula
  homepage 'https://github.com/szechyjs/mbelib'
  head 'https://github.com/szechyjs/mbelib.git'
  url  'https://github.com/szechyjs/mbelib/archive/v1.2.5.tar.gz'
  sha1 'ee970823d95f008941132edc6142a1a0282655a8'

  depends_on 'cmake' => :build

  def install
    mkdir 'build' do
      system "cmake", "..", *std_cmake_args
      system "make"
      system "make install"
    end
  end
end