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

class Curaengine < Formula
  homepage "https://github.com/Ultimaker/CuraEngine"
  head "https://github.com/Ultimaker/CuraEngine.git"
  url "https://github.com/Ultimaker/CuraEngine/archive/14.03.tar.gz"
  sha1 "d782c90d6e66580cc7e4b43a013da399e4623259"

  def install
    ENV.deparallelize
    system "make"
    if build.head?
      bin.install "build/CuraEngine"
    else
      bin.install "CuraEngine"
    end
  end
end