Skip to content

Commit

Permalink
Add mwrap formula
Browse files Browse the repository at this point in the history
  • Loading branch information
danfortunato committed Feb 14, 2024
1 parent 8b63a5e commit ff3933f
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Formula/mwrap.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
class Mwrap < Formula
desc "MATLAB MEX gateway generator"
homepage "https://github.com/zgimbutas/mwrap"
url "https://github.com/zgimbutas/mwrap/archive/refs/tags/v1.1.1.tar.gz"
sha256 "7c007a2c833d956d4805f12922920c8c8f9a47dc3f483ba0ffffca5aa130daed"
license "MIT"
head "https://github.com/zgimbutas/mwrap.git", branch: "master"

uses_from_macos "bison" => :build
uses_from_macos "flex" => :build

def install
system "make", "bin"
bin.install "mwrap"
man1.install "doc/mwrap.1"
share.install "mwrap.pdf"
end

test do
system "#{bin}/mwrap"
end
end

0 comments on commit ff3933f

Please sign in to comment.